Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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)
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