boolean
even
=
x
%
2
==
0
;
boolean
odd
=
x
%
2
==
1
;
// does not work for negative x