Question: Design and implement an application with a single class that computes and prints the mean and standard deviation of a list of integers x 1
Design and implement an application with a single class that computes and prints the mean and standard deviation of a list of integers x through xn Your application should read the value of n as well as the integers, from the user. Compute both the mean and standard deviation as floating point values, using the following formulas:Formula for computing both the mean and standard deviationRequirementsYour application should perform the following:Request the total number of integers n from the user.Create an array of size nPerform n requests for integers from the user.Store the provided integers in the array.Compute and print the mean of the n integers.Compute and print the standard deviation of the n integers.The integers should be provided to the program one at a time.The mean and standard deviation should be printed out on separate lines total of linesThe mean and standard deviation should be formatted to decimal places.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
