Question: Write a C++ program that prompts the user for as many as 100 floating point numbers. Then, the program should perform the following tasks in

 Write a C++ program that prompts the user for as many

Write a C++ program that prompts the user for as many as 100 floating point numbers. Then, the program should perform the following tasks in the given order. Each task should be performed by a separate function/method: a. Store the numbers in an "array" -- can be a traditional array/template based array/vector -- you decide. b. Compute the average of the numbers stored in the "array". c. Compute the standard deviation of the numbers stored in the "array" (see below). d. Output the contents of the "array". e. Report the average and the standard deviation. Test your program with at least the following sets of numbers: I) 1.23 2.34 3.45 4.56 5.67 II) 100 200 300 400 500 600 700 800 900 1000 III) 10.123 20.234 30.345 40.456 50.567 IV) 1 1 1 1 1 V) 1 2 3 4 5 6 7 8 9 10 Formula (mathematical) for standard deviation

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!