5 of 5
Paper No: 4
Question 7:
(1 mark, file to be edited: Q7.c)
Your program should allow users to enter an array of 'n' integer numbers.
It finds and displays each pair: frequency of number divisible by 5 and number divisible by 5 on a line,following the order that the numbers were entered.
There is a '-' character between the found number and its frequency.
Below is an example showing how the program works:
7
25 15 9 15 15 20 20
OUTPUT:
1-25
3-15
2-20
Press any key to continue
Zoom
+ 80%
Close