C Program to Print all even and odd Numbers in an Array separately and its count.

 

Sample Input
Enter the size of an array
7
Enter the elements of the array
12
34
32
45
2
54
55
Sample Output
Even numbers in the array are : 12 34 32 2 54
Odd numbers in the array are: 45 55
There are 5 even numbers and 2 odd numbers out of 7 given numbers.

 

You may also like...