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 (n > 0).Program prints out the sum of all even numbers. If there are no even numbers in the array, print "Thereare no even numbers in n elements".
4 of 4
Paper No: 6
Below is an example:
6
9
3
2
7
46
OUTPUT:
12
Press any key to continue
Flext case 1: