练16.2 奇偶数判断
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
给定一个整数,判断该数是奇数还是偶数。如果是奇数,输出odd
;如果是偶数,输出even
。
输入格式
输入仅一行,一个大于零的正整数。
输出格式
输出仅一行,如果是奇数,输出odd
;如果是偶数,输出even
。
样例
5
odd
C++5月测基础语法
- Status
- Done
- Rule
- Ledo
- Problem
- 5
- Start at
- 2025-5-29 20:00
- End at
- 2025-5-29 22:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 6