-->
当前位置:首页 > 题库 > 正文内容

编程题:A positive integer 's parity(正整数的奇偶性判定)

Luz4年前 (2021-09-19)题库1004
This problem requires reading in a positive integer n ,and then output its parity.

### 输入格式:

Input a positive integer on one line.

### 输出格式:

output its parity.

### Input example 1:

Here is an example of input. for example:

in
5


### Output example 1:

Here give the example of output. for example:

out
5 is an odd number


### Input example 2:

Here is an example of input. for example:

in
12


### Output example 2:

Here give the example of output. for example:

out
12 is an even number






答案:若无答案欢迎评论

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。