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

c++ programming determine statistics for a data set formed by combining all the

ID: 3712571 • Letter: C

Question

c++ programming

determine statistics for a data set formed by combining all the input data sets into one data set This program is a required program for the course. The score on this program will not be dropped when calculating the final course grade. The program will input the individual data sets from different files, process each data set in order, and will save the data values to form a combined data set. The combined data set will then be processed in the same manner as the individual data sets For each data set input to the program, as well as for the combined data set, the following information will be printed the unsorted data, as input to the program or as saved into the array for the combined data set the sorted data, from smallest to largest values the mean of the data set the median of the data set the mode of the data set, including cases of bimodal data You should use a loop to process the data sets, using the same array repeatedly for each input data set. As you complete the processing of each array, move the data into another array that will hold all of the combined data. You should not use a separate array for each data set. You may use vectors instead of arrays if you choose Do not combine the data sets into one file. Do not make a fourth file containing the combined data set Do not re-read the values from the files when forming the array of combined values. You may design your program to expect any data set will be no larger than 100 elements, and thus the combined data set would be no greater than 300 elements Potentially your program could process several different data sets, though you will only use the 3 sets provided for your Design your program for generality: The code should not need to be changed if you were asked to run this program with 4 different data sets, or with io different data sets, or even 100 different data sets (except maybe change the dimensions of the arrays used).

Explanation / Answer

Hi,

Below is the complete program. I have used vector to store elements of Dataset. As required, I have used only one vector for all three datasets. This program works for any number of datasets. I have used same datasets provided in the question. Please run the program and let me know in case of any problem.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote