Draw a checkerboard with loops.
You can use the modulo-operator (
%
) to help you find out if your number is even or not. A modulo-operator works like a division, but returns the rest of the division instead.
Draw a checkerboard with loops.
You can use the modulo-operator (
%
) to help you find out if your number is even or not. A modulo-operator works like a division, but returns the rest of the division instead.