Question: 10) Write a program that sits reading integers from the input. It should stop when a blank line is entered and then it should
10) Write a program that sits reading integers from the input. It should stop when a blank line is entered and then it should print the largest and smallest values that were entered. It is expected to be polite and to both prompt the user for input and print a nice output. Thus the interaction should look something like this Enter numbers (-ve to end) 23 46 103 27 5 The largest value was 103 and the smallest was 5.
Step by Step Solution
There are 3 Steps involved in it
5 JS GO php Python Onl mainpy 1 def findlargestsmallest 2 3 4 5 6 7 8 9 ... View full answer
Get step-by-step solutions from verified subject matter experts
