even or odd
Submit solution
C, C++
Points:
10
Time limit:
15.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Task: Read a number n, display the output "even" if it is even , "odd" if it is odd, "ZERO??" if it is zero.
Input:
Read a number from the user.
Output:
Display the output in a single line.
testinput1:
4
testoutput1:
even
testInput2:
7 testoutput2:
odd
Comments