Odd or Even

Write a program to accept an integer from a user and output ‘odd’ if the input is an odd number and ‘even’ if the input is an even number.

Scroll to Top