Question: Write a C++ program that will ask the user to enter 5 integers and then calculate their arithmetic mean, geometric mean, harmonic mean, and standard
Write a C++ program that will ask the user to enter 5 integers and then calculate their arithmetic mean, geometric mean, harmonic mean, and standard deviation. The program should then print and label the original 5 numbers and the four statistics.
Note:
- All means should be rounded to two decimal places.
- Echo Print input
Arithmetic Mean

Geometric Mean

Harmonic Mean

Standard Deviation

Here is a sample of what you program should do.
Enter five numbers: 85 43 95 100 78 Result: Data: 85 43 95 100 78 Arithmetic Mean = 80.20 Geometric Mean = 77.01 Harmonic Mean = 73.13 Standard Deviation = 20.11
Also report:
- Root mean square
- 20% Winsorized mean
Please only print the code of 20% Winsorized mean......................................................
thank you
Y7 } (Tt az)= va *02 * ... On i=1 ? 10 401 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
