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:
1- Write a program that reads 8 integers, compares each integer with the 8th integer, and
displays whether the integers are "greater", "smaller", or "equal" to the 8th integer.
Sample Output
Read number =6
Read number:33
Read number":2
Read number:6
Read number : 222
Read number =1
Read number : 88
Read number : $9
6 is smallex than 99
33 is smaller than 99
2}\mathrm{ is smaller than 99
6 is smaller than 99
222 is greater than 99
1 is smallex than 99
88 is smallex than 99
Answer:
Problem: 1 - Write a program that reads 8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!