45
Press any key to continue
Question 3:
(1 mark, file to be edited: Q3.c)
The program asks the user to enter any integer n from the keyboard.If no number satisfies, print the string: "There is no number divisible by n"
Count and print the numbers in the range from 1 to 100 divisible by n.
Here is an example of how the program will run:
Case 1
Case 2
3 of 3
Paper No: 8
6
OUTPUT:
16
Press any key to continue
101
OUTPUT:
There is no number divisible by
Press any key to continue
Zoom
+ 100%
Close