Spring 2024 FPTU
OUTPUT:
16
Press any key to continue
Question 7:
(1 mark, file to be edited: Q7.c)
Your program allows users to enter an array of 'n' integers, where 'n' is entered by the user.
Prints the even and odd numbers on two different lines. Separating each number is a space.
Below is an example:
Enter n = 8, array = (5, 4, 3, 2, 8, 9, 1, 0}
Zoom
+ 100%
Close