### Variance

Posted:

**Fri Jan 27, 2012 4:15 pm**A number of entries received and the largest and smallest number and average value and its variance is also obtained.

Enter zero, the program ends.

Input

3 user programs from the smallest and the largest variance in the final three numbers will be generated.

Output

Output must be the smallest number - number - Variance

this is how to calculate the variance. From the mean divided by the number of input and then we have the following output.

Input

12

5

6

0

Output :

Max . 12000000

Min. 5.000000

Avrage.7.666667

Variance . 9.555558

Enter zero, the program ends.

Input

3 user programs from the smallest and the largest variance in the final three numbers will be generated.

Output

Output must be the smallest number - number - Variance

this is how to calculate the variance. From the mean divided by the number of input and then we have the following output.

Input

12

5

6

0

Output :

Max . 12000000

Min. 5.000000

Avrage.7.666667

Variance . 9.555558