1. Even or Odd

Acceptance 90.9% 10 accepted 11 submissions

Easy
No topics listed
No companies listed
Write a program that reads an integer n and prints: - "Even" if the number is even - "Odd" if the number is odd.

Example 1

Input
1
Output
Odd

Explanation 1 is not divisible by 2 so it is Odd

Example 2

Input
2
Output
Even

Explanation 2 is divisible by 2 so it is Even

Example 3

Input
0
Output
Even

Explanation 0 is divisible by 2 so it is Even

Acceptance 90.9%
Accepted 10
Submissions 11
Auto-save
Saved Ln 1, Col 1
Submit a solution to see its status here.
Input
Expected Output
Odd
No results yet
Run your code to test it against the sample cases.
Problem List