write a c program to count even numbers
Answers
Answered by
0
Answer:
Read the entered elements and store the elements into the array as scanf(“%d”,&a[i]) using for loop for(i=0;i<n;i++). 3) for loop iterates from i=0 to i<n. If the remainder of a[i]/2 is equal to zero then increase the even value by 1. Otherwise, increase the odd value by 1.
Similar questions