index
| submit
| rank
| book

## oddeven – Odd or even?

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.

### Input and output

The input contains several lines each with a natural number
*n* where -2 000 000 000 ≤ *n* ≤ 2 000 000 000.
Input is terminated by the end-of-file (EOF).

For each line of input, the output should contain either `odd`

or `even`

.

#### Example output

```
even
odd
even
odd
```

### Scoring

- 1/6: works for the above example but in an incorrect format
- 2/6: works for the above example in the correct format
- 3/6: works for small positives
- 4/6: works for small positives and negatives
- 5/6: works for large numbers
- 6/6: works for edge cases

try first: mult add oddeven1

try also: order

try next: good bmi

index
| submit
| rank
| book

Copyright © 2020-2023 Rudy Matela

All rights reserved