- C Code Only Write A Program That Takes As Input Five Numbers And Outputs The Mean Average And Standard Deviation Of 1 (140.95 KiB) Viewed 16 times
C++CODE ONLY: Write a program that takes as input five numbers and outputs the mean (average) and standard deviation of
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
C++CODE ONLY: Write a program that takes as input five numbers and outputs the mean (average) and standard deviation of
C++CODE ONLY: Write a program that takes as input five numbers and outputs the mean (average) and standard deviation of the numbers. If the numbers are X1, X2, X3, X4, and x5, then the mean is X = (X1 + X2 + x3 + x4 + X5 )/5 and the standard deviation is: (x₂ −x) ³+ (x,₂¬x) ³+ (x₂ −x)²+(x¸−x)²+(x¸−x)² S= Your program must contain at least the following functions: 1. a function that calculates and returns the mean; and, 2. a function that calculates the print standard deviation. Input 1.5 integers Output Enter five numbers: 7 7 8 9 11 The mean is 8.40. The standard deviation is 1.497. //TAKE NOTE OF THE STANDARD DEVIATION