Saturday, January 30, 2010

CHAP 3[E]b Printing smiling faces

Write a program to fill the entire screen with a smiling face. The smiling face has an ASCII value 1.

void main()
{
char x =1;
float f=10004;
while(f>0)
{
printf("%c",x);
f--;
}
}

No comments:

Post a Comment