PRF01IF02 - IF

Write a program that allows user enter an odd number. The program must check and show result.

Example format: ouput input 

Example 1:

Please enter an odd number:1
Thank you.

Example 2:

Please enter an odd number:2 
2 isn't an odd number.

Example 3:

Please enter an odd number:0
0 is zero.

 


Added by:khanhvh
Date:2020-10-26
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.