Question: Please use C++ with no dynamic arrays or vectors please make a data file with thermal conductivity values to be called Problem: The company, HeatTransfer,

Please use C++ with no dynamic arrays or vectors please make a data file with thermal conductivity values to be called  Please use C++ with no dynamic arrays or vectors please make
a data file with thermal conductivity values to be called Problem: The
company, HeatTransfer, has expanded its study to include more formulations and plants.

Problem: The company, HeatTransfer, has expanded its study to include more formulations and plants. They have automated the data collection so that the thermal conductivities are stored in a file containing a table (2-D array). Each row of the table represents a specific formulation and cach column represents a specific plant. Your program should have a main function and 4 other functions as described below. The manufacturer has stated that there will not be more than 50 formulations and not more than 12 plants. One function should open the file "thermalconduct.dat" and read the first line that contains the number of formulations (the first value) and number of plants (the second value). Using these values, your function should then read the rest of the data and store the values in a 2-dimensional array. As the thermal conductivities are being stored, a message should be output if any thermal conductivity is not in the range of 3 to 10. The message should output the formulation, plant and thermal conductivity as the example belovw The value of 14.56 from plant 1 for formulation 8 is suspect. The thermal conductivity should stll be stored in the array. The number of formulations and number plants should be sent back to the function call One function should accept the 2-dimensional array, the number of formulations and number of plants then create a 1-dimensional array containing the minimum thermal conductivities for each formulation and create a 1-dimensional array containing the maximum thermal conductivities for each formulation. This function should call the function to output a 1-dimensional array for the minimum and maximum values before sending these arrays back to the function call

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!