ABCDEFGHIJK
Press any key to continue
Question 5:
(1 mark, file to be edited: Q5.c)
The program asks the user to enter an array of n integers from the keyboard.
Find and print the even numbers in ascending order.
Below is an example:
n = 6; array = {8, 3, 2, 10, 7, 4}
4 of 4
Paper No: 8
6
8 3 2 10 74
OUTPUT:2 4 8 10
Zoom
+ 100%
Close