Created
August 13, 2020 03:38
-
-
Save iqfareez/97097650cc2cd15e1ed560b0495a0d17 to your computer and use it in GitHub Desktop.
Print heart / love in C ♥
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<windows.h> | |
int main() | |
{ | |
int i,j; | |
for (i=1; i<6; i++) | |
{ | |
for (j=1; j<6; j++) | |
{ | |
printf("\3 "); //change number \3 to other number for different symbols | |
Sleep(566); | |
} | |
printf("\n"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output:
You may need to use legacy console for the character to appear.