Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started