โ Back to User Input
Question 275
Even or Odd from Input
Even or Odd from Input
Read a single integer and print 'Even' if it is even, or 'Odd' if it is odd. Example: input 4 prints Even, and input 7 prints Odd.
Expected Output:
Even
Topics:
User Input
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.