Given a 2D array called ARR[row index][column index] of size 4x3 (rows x columns), construct an algorithm to output a new 1D array called BIGGEST containing the biggest number in each row. The algorithm must also work for a 2D array containing only negative numbers.
For example, consider the following 2D array:
The correctly functioning algorithm applied to the 2D array above yields the following 1D array:
Short Answer6 MarksPremium
28 Uses34 Views2 Likes