← Code LabSolidity0/50 solved · 0%
Control flow · easy

3. Booleans & if

Branching with boolean expressions.

Write `isEven(uint256 n)` returning `true` when `n % 2 == 0`.
Required in your answer: n % 2 == 0returns (bool)