Read an integer N. This number indicates how many values the array will have.
Then, read N integers (one per line) and store them in an array.
Finally, count how many of those numbers are even and display the result.
Hints:
for loop to read the data and store it in the array.for loop to go through the array and count the even numbers.An integer N, followed by N integers, one per line.
Print a single integer: the count of even numbers.
Input:
5
3
4
7
8
2
Output:
3