Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Problem requirements: you are required to use and implement following functions

ID: 3632114 • Letter: P

Question

Problem requirements:

you are required to use and implement following functions in this problem:

/*return the sum of the given data set */

double sumData (double x [ ], int n);

/*return the median of the given data set */

double medianData (double x [ ], int n);

/*return the standard deviation of the given data set */

double stdData (double x [ ], int n);

/*return the range of the given data set*/

double rangeData (double x [ ], int n);

/* Display the frequency distribution in the given rages */

void freqData (data x [ ], int n);

you may define additional functions if needed.

The original data set stored in the array should never be changed as you perform different analyses

in this problem you will implement a menu system managing array of data. your program will ask the user to enter some data (double type) from standard input and store them in an array. Once the array is entered, the following interface will be displayed and user will be asked to choose an option to perform the operation repeatedly untill the last option to quit.
Please select the following operations:
1. Display the data set
2. calculate the Mean and Sum of the data set
3. calculate the Median of the data set
4. Calculate the standard deviation of the data set
5. find range of the data set
6. display a frequency distribution
7. Quit

if user select 1, the data set will be displayed on the screen
if user select 2 or 3, the mean, sum, or median will be calculated and displayed on the screen.if there are odd number of data, the median is the middle value. half of all data are smaller than the median value and half are larger. if there area even numberof data, the median is the average of two middle


if user select 4, the standard deviation of given data set (x1, x2,.....,xn) is calculates by the formula:

standard deviation = sqrt[((ni=1 (xi)2)/n) - ((ni=1 xi)/n)2]

if user selects 5, the range of data set is calculated as follows:

           range= maximum value - minimum value

if the user selects 6, a frequency distribution printout will be displayed that gives the number of values in the following rages: (-,0), [0,10), [10,100), [100, +). use a proper format (such as two columns) to display each range and the corresponding frquency count.

if user select7, the program terminates:

if user select an option other than 1 to 6, an error message should be displayed and the program continues.

Explanation / Answer

Hey friend...i know the answer. I have solved it in my notebook , but could not upload it . I don't know what is happening with upload... Give me lifesaver and write you email id .I'll send it to your email id .

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote