Question: Write a program that let the user input multiple float values and output the average and variance of the user input. Input -1 indicates

Write a program that let the user input multiple float values and  

Write a program that let the user input multiple float values and output the average and variance of the user input. Input -1 indicates the end of the input. Do not use arrays in this program. (40 points) Sample input: 1.1 2.3 3.4-1 Sample output: 2.266667 0.882 Hint: the definition of average and variance for data set a, a, a, are as follows Aeg-a Var-1- Avg= i=1 11

Step by Step Solution

3.43 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Python program that takes multiple float values from the user and calculates the average and ... View full answer

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