Write a program that prompts the user for a number, tests to see whether that number is
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that prompts the user for a number, tests to see whether that number is even or odd, and prints out "Number is Even" if it is even, or "Number is Odd" if it is odd.
Hint: An even number is one that is dividable by 2 and has no remainder! Look up the % operator.
Related Book For
Posted Date: