Question: a) Prompt the user to enter five integer sets of four numbers and store the numbers in a 5 x 4 array called Data[51[4] b)

 a) Prompt the user to enter five integer sets of four

a) Prompt the user to enter five integer sets of four numbers and store the numbers in a 5 x 4 array called Data[51[4] b) If the user selects "A or a" then your program should pass the array Data[ 1] from main () to a function double Mean (const int Data [ ][l, int, int) that receives the array Data [ ]I ] and its dimensions as arguments to find the average for each row and column of array Data and prints the results in function main (). Ifthe user selects "F or f" then your program should pass the array Data[ 1I] from main () to a function void frequency (int const Data [ lII, int, int) that receives the array Data 111 and its dimensions as arguments and counts the number of responses (frequency) of each number, then pints the frequency along with its histogram as follows c) 4 d) If the user selects "N or n" for median, then you program should determine the median by calling function void Median (const int Data [][ l, int, int) a user defined function to sort array of responses into a single-dimensional array in ascending order, and picking the middle element of the sorted array. In this function you should call a user-defined function called PrintArray () to print the sorted array along with the median

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!