X1335: Are all values even?

Given an array of ints, return true if all values in the array are even values. This routine should return false if at least one value is odd. You may assume the array has at least one value.

Examples:

evenValues({1,2,5}) -> false
evenValues({1,3,5,7}) -> false

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.