Question: (Odd or Even) Write a program that reads an integer from user then determines and prints whether it's odd or even number. [Hint: Use the
(Odd or Even) Write a program that reads an integer from user then determines and prints whether it's odd or even number. [Hint: Use the remainder operator to determine the number is odd or even]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
