Learn To Program NOW!
How do I determine if a number is even or odd?
Using the MOD intrinsic function is the way to go.
Here is the tip.