3- Write a python program that calculates the average of several numbers entered by the user. The program should work as follows: The program will ask the user to enter a number (a float), it will verify that the user did indeed enter a float (or else it will continue to ask the user to enter a number). The new number will be saved in a list, after this, the program should ask the user to enter another number or enter ”DONE” if they are done entering numbers. This should continue until the user enters ”DONE”. Once this happens the computer should calculate the average of all the numbers in the list and print that average. (Part-1 is done)  4. MODIFY THE ABOVE PROGRAM SO THAT IS ALSO CALCULATES THE MINIMUM, MAXIMUM VALUES FROM THE LIST OF VALUES ENTERED BY THE USER(use method and operators of list)

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 1RQ: A structure that allows repeated execution of a block of statements is a(n) _____________. sequence...
icon
Related questions
Question

3- Write a python program that calculates the average of several numbers entered by the user. The program should work as follows: The program will ask the user to enter a number (a float), it will verify that the user did indeed enter a float (or else it will continue to ask the user to enter a number). The new number will be saved in a list, after this, the program should ask the user to enter another number or enter ”DONE” if they are done entering numbers. This should continue until the user enters ”DONE”. Once this happens the computer should calculate the average of all the numbers in the list and print that average. (Part-1 is done) 

4. MODIFY THE ABOVE PROGRAM SO THAT IS ALSO CALCULATES THE MINIMUM, MAXIMUM VALUES FROM THE LIST OF VALUES ENTERED BY THE USER(use method and operators of list)

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Linked List Representation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,