Question: Write a program with a loop that lets the user enter a series of positive integers. The user should enter - 9 9 to signal
Write a program with a loop that lets the user enter a series of positive integers. The user should enter to signal the end of the series. Any negative number other than must be rejected with a message ERROR: no negative values other than accepted! After all the numbers have been entered, the program should display the largest and the smallest numbers entered. If no numbers were entered user entered right away a message No numbers were entered must appear.
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
