Variance

General topic about Valladolid Online Judge

Moderator: Board moderators

Post Reply
davidander2030
New poster
Posts: 3
Joined: Fri Jan 27, 2012 4:11 pm

Variance

Post by davidander2030 » 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

JarrettSmith
New poster
Posts: 2
Joined: Fri Apr 10, 2015 12:57 pm

Re: Variance

Post by JarrettSmith » Fri Apr 10, 2015 1:23 pm

Nice thread.Thanks a lot for sharing these valuable information about Variance.

Post Reply

Return to “General”