Question: Problem: 1 - Write a program that reads 8 integers, compares each integer with the 8 t h integer, and displays whether the integers are
Problem:
Write a program that reads integers, compares each integer with the integer, and
displays whether the integers are "greater", "smaller", or "equal" to the integer.
Sample Output
Read number
Read number:
Read number":
Read number:
Read number :
Read number
Read number :
Read number : $
is smallex than
is smaller than
mathrm is smaller than
is smaller than
is greater than
is smallex than
is smallex than
Answer:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
