fb pixel

Odd or even

Given an integer, your task is to determine if it’s odd or even.
The program should print The number <NUMBER> is <odd/even>.
Input
Output
10
The number 10 is even
7
The number 7 is odd
 
To check your solution you need to sign in
Sign in to continue