Question: I am writing a code for CS and I need help. #include #include #include #include #include int **allocateMatrix(int, int); void initMatrix(int **, int, int); int
I am writing a code for CS and I need help.

#include
#include
#include
#include
#include
int **allocateMatrix(int, int);
void initMatrix(int **, int, int);
int findRange(int **, int, int);
double findAverage(int **, int, int);
void printCorners(int **, int, int);
int main(int argc, char *argv[]) {
srand(0);
int row = atoi(argv[1]);
int col = atoi(argv[2]);
data = allocateMatrix(row, col),
initMatrix(data, row, col);
printf("Range of values in the array is %d ", findRange(data, row, col) );
printf("Average of all array values i %lf ", findAverage(data, row, col) );
printCorners(data, row, col);
return 0;
}
CS 100 Lab Seven Spring 2017 Create a directory called lab7 on your machine using mkdir lab7 Within this directory, complete the program named lab7.c that is shown below. You need to write the five functions shown in red #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
