Question: Write a C++ program that will ask the user to enter 5 integers and then calculate their Root mean square 20% Winsorized mean The program

Write a C++ program that will ask the user to enter 5 integers and then calculate their

  • Root mean square
  • 20% Winsorized mean

The program should then print and label the original 5 numbers and the four statistics.

Following is the example of output:

Enter five numbers: 24 29 47 19 51

Result: Data: 24 29 47 19 51

Root Mean Square = 36.30

20% Winsorized Mean = 34.20

Enter five numbers: 171 363 48 254 340

Result: Data: 171 363 48 254 340

Root Mean Square = 262.08

20% Winsorized Mean = 255.20

Note:

  • All means should be rounded to two decimal places.
  • Echo Print input.
  • If you do not know what is 20% Winsorized Mean, you can Google it

Thank you very much!!!

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!