Question: Write a program that prompts the user to enter a number, and displays This number is even if the entered number is even otherwise, displays
Write a program that prompts the user to enter a number, and displays This number is even if the entered number is even otherwise, displays This number is odd if it is odd . Here is a sample run:
Enter an integer number: 15
This number is odd
Enter an integer number: 20
This number is even
with mips
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
