Question: //1)Write method evenMumbers(), which takes a single int[] //parameter array, 'numbers'.Call evenNumbers() in main with //a argument array of size at least 10, that has
//1)Write method evenMumbers(), which takes a single int[]
//parameter array, 'numbers'.Call evenNumbers() in main with
//a argument array of size at least 10, that has some even
//numbers. Count the # of even numbers in the array and
//return the count. Hint: use the remainder operator, %, to
//determine if the number at index i is even or odd.
//Remember 10 % 2 == 0, because 2 divides 10 evenly 5 times.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
