How to detect that a number is odd or even?


Answer: You can detect that by checking if the number is divisible by 2 without a reminder, for example 4/2 = 2, so 4 is an even number, however 5/2 is 2 with 1 as a reminder, so 5 is an odd number