Question: Program Description: You are working in a biology lab as a data scientist. Your job is to collect and analyze all data of a special

 Program Description: You are working in a biology lab as adata scientist. Your job is to collect and analyze all data ofa special type of bacteria. After a few days of hard working,here is a set of sample data generated: The data you need

Program Description: You are working in a biology lab as a data scientist. Your job is to collect and analyze all data of a special type of bacteria. After a few days of hard working, here is a set of sample data generated: The data you need is presented in a 2-D array format. Therefore, your program should create a twodimensional array of 4 rows and 4 columns, total of 16 integers. - The array will be filled by user input, any input values outside the range of 0-500 must be required to re-enter. For test purposes, please manually enter the numbers provided above - And then display the all values (in a 2-D table format, with rows and columns, format the display use setw function. Your output format should match my sample output), - The program should also display the average value of all data (the average should have two use setw function. Your output format should match my sample output), - The program should also display the average value of all data (the average should have two decimals). - The program should also display the sum for all temperatures (row sums) - The program should display the sum for all days (column sums) Program Structure: Declare two constant variables. 1. const int ROWSIZE=4; 2. const int COLSIZE=4; //only the column size can be declared as global constant The following functions must be included, but you may add additional functions if you wish. - getAllData This function should pass a two dimensional array, and its row size. The function fills with data with user input. void getAllData(int data[][COL_SIZE], int row_size) - displayAllData This function should have the array as parameter and the number of rows. It should display all values in the array in the format shown in the "sample display" section. void displayAllData(int data[][COL_SIZE], int row_size) You have to use left

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!