OUTPUT:4
Press any key to continue
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: 5
5
10 5 2 29 3
Close
+ 100%
Zoom