Question: Write a program that prompts the user to enter numbers, then print the smallest and largest of all numbers supplied by the user. You
Write a program that prompts the user to enter numbers, then print the smallest and largest of all numbers supplied by the user. You may assume that the user enters a valid number greater than 0 for the number of numbers to read. Here is a sample execution: How many numbers do you want to enter? 4 Number 1: 5 Number 2: 11 Number 3: -2 Number 4: 3 Smallest Largest = 11 C
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
mainpy ... View full answer
Get step-by-step solutions from verified subject matter experts
