1458: 判断奇偶性

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:16 Solved:16

Description

从键盘任意输入一个整数,编程判断它的奇偶性。要求输入变量定义为int类型且由用户从键盘输入。

程序的运行示例1:

Input an integer number:

4

4 is an even number

程序的运行示例2:

Input an integer number:

3

3 is an odd number

Input

输入格式:

"%d"

Output

输出格式:

输入信息提示:"Input an integer number:\n"

偶数输出格式:"%d is an even number\n"

奇数输出格式:"%d is an odd number\n"

Sample Input Copy

5

Sample Output Copy

Input an integer number:
5 is an odd number