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 the

 Write a program that let the user input multiple float values

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. Sample input: 1.1 2.3 3.4 -1 Sample output: 2.266667 0.882

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!