(1 mark, file to be edited: Q3.c)
The program allows the user to enter five integers from the keyboard (STDIN).
The program prints the values of 'm' and 'n', where 'm' is the number of even numbers and 'n' is the number of odd numbers.
Below is an example:
3 of 3
Paper No: 3
59281
OUTPUT:
2
3
Press any key to continue
Question 4:
(1 mark, file to be edited: Q4.c)
Users are required to enter an integer number to define the "row" of the palindrome triangle pattern
(row > 0)
Program prints out the palindrome triangle pattern.
+ 100%
Zoom
Close