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 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
Get step-by-step solutions from verified subject matter experts
