Question: Write a CH program to implement a function named Average, the function receives 2-D array of integer, the number of rows, and the number of

 Write a CH program to implement a function named Average, the

Write a CH program to implement a function named Average, the function receives 2-D array of integer, the number of rows, and the number of columns. This function returns the average of all elements in the 2D array. double Average (int a[][3], const int r, const int c); 5 3 8 6 9 4 7 1 2. In your main do the following: Create 2-D array of integer of size (3x 3) and initialize it as in the figure above. Call Average Function Print the average of the array

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!