I have ZERO clue how to do/what to do for this program. Can anyone help me out?
Write a program that inputs a two-dimensional array (you may use a data
file, but if you do, have main print out the array) consisting of 5 rows
and 4 columns of integers, and determines and prints the sum of the
entries in the row or column of the largest entry.
The program should have a function that finds the largest element of the
array and returns the row index and column index of the largest element.
(The function should do no more, and no less.)
Be sure not to add the largest element twice in calculating the sum.
For example: If the array is
2 1 0 3
-5 6 8 -10
0 0 1 2
5 19 3 15
-25 6 8 -50
the function should return 3 for the row index and 1 for the column index
(as 19 is the largest element of the array). The sum computed and printed
by main( ) would be the sum of the numbers in row index 3 or column
index 1: the sum of 5,19, 3, 15,1, 6, 0, 6, namely 55.
You may not use global variables.
Use the above example to test your program.