Question: Write a function named 'get_output' which takes a two dimensional integer array as parameter and returns the no. of ones found in both the diagonals
Write a function named 'get_output' which takes a two dimensional integer array as parameter and returns the no. of ones found in both the diagonals of the array. (Assume the array is filled with 0's and 1's only) 50 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
