Write a program that prints whether a given natural number is odd or even. A number is even when it is disivible by two. A number is odd when it is not divisible by two.
The input contains a single line with a natural number
n where 0 ≤ n ≤ 100 000.
The output should contain a single line with odd
or even
.
12
even
7
odd
try next: order1
Copyright © 2020-2022 Rudy Matela
This text is available under the CC BY-SA 4.0 license.
Originally available on cscx.org/oddeven1