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

Write a C++ program that will ask the user to

Geometric Mean

Write a C++ program that will ask the user to

Harmonic Mean

Write a C++ program that will ask the user to

Standard Deviation

Write a C++ program that will ask the user to

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!