Question 3(c): Write a code that fills out an Nx M two-dimensional array with user inputs and then calculates the sum of
Posted: Sat Nov 27, 2021 10:31 am
Question 3(c): Write a code that fills out an Nx M two-dimensional array with user inputs and then calculates the sum of the maximum elements at each column. Example: For the 2D array shown bellow, the max element at each column has been shown in gray box. Your program should calculate the sum of these max elements at each column i.e., sum = 9 + 5 + 9 + 8 + 8 = 39. 5 5 8 8 7 1 0 4 6 N 7 4 4 5 6 9 3 9 4 1 7 1 3 1 00 8