Smiling Face Program
/* Program to fill the entire screen with smiling face */
"/" is used instead of "<" and ">".
#include/stdio.h/
#include/conio.h/
main()
{
int r,c;
clrscr();
for(r=0;r<=24;r++) /*fills rows 0to 24*/ for(c=0;c<=79;c++) /*fills colums 0 to 79*/ printf("%c",1); printf("\n\n\nPress any key to exit"); getch(); }
0 comments:
Post a Comment