2. Write a program in C++ that defines an m x n two dimensional array containing integer
elements, where m and n represent the numbers of rows and columns respectively. The
numbers of rows and columns should be defined as constants. The program should provide
the following user-defined functions with appropriate parameters:
• setArrData(...): The function accepts elements from the keyboard and
stores them into the array.
• printArrData(...): The function prints the array values on the screen.
• getAverage(...): The function accepts the array, number of rows and number
of columns as parameters and returns the average of all values in the array.
• findMax(...): The function accepts the array, number of rows and number of
columns as parameters and prints the greatest element from each column of the
array.
Answers
Answered by
3
Answer:
Please do hard work find
Similar questions