X559: Is it even

Write a function that returns true if a is even, false otherwise. Just for practice, you must use an if statement.

Examples:

isItEven(1) -> false
isItEven(2) -> true

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.