Saturday, 27 July 2013

Chapter 3 solutions Problem[E][b]

Question-Write a program to fill the entire screen with a smiling face. The smiling face has an ASCII value 1.
Solution- Really easy stuff.

#include<stdio.h>
int main()
{
char ch=1;
for(i=1;i<=2000;i++)
printf("%c",ch);
return 0;
}

No comments:

Post a Comment