Chapter - 4: The Loop Control Structure

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


E
Sections
2
Exercises

A

B

C

D

E

1

2

3

4

5

6

7

8

10

11

12

13

14

15

16

9

#include<stdio.h>
#include<conio.h>
int main()
{
	int i,a=1;
	for(i=0;i<2800;i++)//infinite loop also can be used
	{
		printf("%c", a);
	}
	getch();
	return 0;
}

© 2020 Garbage Valuegarbage value logo