- 1

Create a C program that illustrates the use of scanf funtion.

The first executable statement in the program is a printf, requesting the user to enter an integer number. This is known as "prompt message" and appears on the screen like Enter an integer number As soon as the user types in an integer number, the computer proceeds to compare the value with 100. If the value typed in is less than 100, then a message Your number is smaller than 100 is printed on the screen. Otherwise, the message Your number contains more than two digits

24th Feb 2022, 3:40 AM
Joan Puerto Sontousidad
Joan Puerto Sontousidad - avatar
1 Answer
+ 2
Attempts?
24th Feb 2022, 3:46 AM
A͢J
A͢J - avatar