Question: Create a C + + program enabling users to input a two - dimensional array. Subsequently, initialize the array by the user ( inside the
Create a C program enabling users to input a twodimensional array. Subsequently, initialize the array by the user inside the main Function then implement three functions the call all of them inside the main function.
PrintFunction : Print the largest element and the index of the largest element along with its corresponding value in the array.
Average: Print the average of the entered array.
PrintDiagonal:Print the diagonal elements of the array only.
Important notes:
All Functions should be written bellow the main.
The dimension of the array row column should be initialized during the run time.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
