Question 7:
(1 mark, file to be edited: Q7.c)
Your program allows the user to enter an array of N integers, where N is entered by the user (STDIN).
Next, ask the user to enter a positive integer M.
Print the numbers that are divisors of M in descending order.
Below is an example:
6 of 6
Paper No: 8
5
10 5 2
20 3
Zoom
+ 100%
Close