2 of 2
Paper No: 5
5
7
Below is an example of how the program will run:
For example, enter the value 5 for 'h', 7 for 'b'
OUTPUT:
17.5
Press any key to continue
Question 2:
(1 mark, file to be edited: Q2.c)
Users are required to enter an integer array of five elements containing value of year.
Print out to the screen the leap years. There, a leap year is a vear that is divisible by 4 and not by 100: or
+ 100%
Zoom
Close