Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started