Question: Write a method called methI that takes a 2D array (that could be jagged) as an input an returns in a 1D elements, the maximum
Write a method called methI that takes a 2D array (that could be jagged) as an input an returns in a 1D elements, the maximum n the largest average. For example: 1. array containing: the index of the row with the maximum number of umber of elements, the index of row with the largest average, and input ((l, 2,3), output: (2.0, 4.0,3.0,9.5) (5, 6, 7, 8) (9, 103)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
