Exerpad
Exercise 2 · Chapter: ConditionsRequired+50 XP

Even or Odd

Read a number from the user. Print Even if it's even, or Odd if it's odd.

Hint: A number is even if number % 2 === 0.

Example 1: Input 4 → Output Even Example 2: Input 7 → Output Odd

Need a hint?
3 available · costs 5 XP each
javascript

Output
Run your code to see the output here.