In this video we learn about the modulus operator and make a simple even or odd calculator using it. The modulus operator helps you find the remainder of a division problem, so our logic was to divide the number entered by 2, then use the modulus operator to find if the remainder is 1 or 0. If it's 1 then it's odd, if it's 0, it is even.
...
https://www.youtube.com/watch?v=i4yMEC41yZc