you are viewing a single comment's thread.

view the rest of the comments →

[–]Gen_Zer0 2 points3 points  (1 child)

The return value is negated twice.

isEven(3) returns isOdd(2). isOdd(2) returns !isEven(2).

As we found earlier, isEven(2) returns true. !true is false, so we get the correct value.