INPUT:
☑Kizspy.me
3
4
INPUT:
2
0
OUTPUT:
Press any key to continue
OUTPUT:
Division by zero is not allowed
Press any key to continue . . .
Question 2:
(1 mark, file to be edited: Q2.c)
Write a program that takes an integer as input and determines whether it is even or not.
Below is an example of how the program will run:
INPUT:
3
INPUT:
2
OUTPUT:
OUTPUT:
no
yes
Press any key to continue
Press any key to continue...
Zoom
Question 3:
(1 mark, file to be edited: Q3.c)
Users are required to enter an integer number 'n' (n > 0) using the keyboard (STDIN).
The system displays result of S according to the following formula (n > 0):
+ 100%
Close