Question: 4. Write a python program that gets numbers from the user until they enter zero, then tells the user the average of all the numbers,

 4. Write a python program that gets numbers from the user

4. Write a python program that gets numbers from the user until they enter zero, then tells the user the average of all the numbers, the largest number entered, and the smallest number entered. [20 marks) Sample input: 10 9 B 7 0 Sample output: Average: 8.5 Largest: 10 Smallest: 7

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!