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
Variance
Moderator: Board moderators
-
- New poster
- Posts: 2
- Joined: Fri Apr 10, 2015 12:57 pm
Re: Variance
Nice thread.Thanks a lot for sharing these valuable information about Variance.