Checks to see if a number is an odd number (not a multiple of 2). Also, the input must be a whole number (integer).
In the example below, 2+5=7 which is an odd number. So isEven is false; and isOdd is true.
Checks to see if a number is an odd number (not a multiple of 2). Also, the input must be a whole number (integer).
In the example below, 2+5=7 which is an odd number. So isEven is false; and isOdd is true.