Question: (1) Maximum and minimum Write a program that reads in a list of integer numbers and prints the largest and the smallest number You can

 (1) Maximum and minimum Write a program that reads in a

(1) Maximum and minimum Write a program that reads in a list of integer numbers and prints the largest and the smallest number You can assume that the the user's input is always valid . You can assume that the numbers in the list are separated by one space character and that the character following the last number in the list is the newline character 'n'. Implement a loop in which the above actions are repeated until the user requests to quit Submit the solution as hmw_2_1.cpp. Sample input-output CWindows system321cmd.exe Enter a list of integers: -1 3 45 78 -56 ? 2 67 minimum integer in the list is -56 maximum integer in the list is 78 Continue? (y> y Enter a list of integers -1 2 3 -4 6 9 mininum integer in the list is -4 maximum integer in the list is 9 Continue? n Press any key to continue... _

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 Databases Questions!