Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write c++ program that will take values in 2DArray a[2][3] use pointers to displ

ID: 3619160 • Letter: W

Question

write c++ program that will take values in 2DArray   a[2][3] use pointers to display the contents of arrays in mainfunction pass this array to function (using pointers) and calculate theaverage of the array contents.display the average in mainfunction. write c++ program that will take values in 2DArray   a[2][3] use pointers to display the contents of arrays in mainfunction pass this array to function (using pointers) and calculate theaverage of the array contents.display the average in mainfunction.

Explanation / Answer

please rate - thanks hope this is good to get you started #include using namespace std; double avg(int* ,int ); int main() {int d2[2][3],i,j; double average; for(i=0;i