Power Plant Data. The data file power1.dat contains a power plant output in megawatts over a period of 10 weeks. Each row of data contains 7 floating-point numbers that represent 1 week’s data. In developing the following programs, use symbolic constants NROWS and NCOLS to represent the number of rows and columns in the array used to store the data.
Write a function to compute the average of a specified row of a two-dimensional array that has NROWS rows and NCOLS columns. The parameters should be the floating-point array and the desired row. Assume that the corresponding function prototype is
double row_ave(double x[]NCOLS],int row);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.