1 2 3 4 5 6
1
1
1
1
6
6
6
6
1 2 3 4 5 6
Press any key to continue
Question 5:
(1 mark, file to be edited: Q5.c)
Your program allows users to enter an array of N integers, where N is entered by the user,
(0 < n < 10).
Program prints out the product of all even numbers. If there are no even numbers in the array, print "even numbers do not exist".
Below is an example:
Case 1:
7
9 245 619
OUTPUT:
48
Press any key to continue
Zoom
100%
Close