Showing 1 question
Calculate the sum of elements present on the primary and secondary diagonals of a square matrix. Be careful to only count the central element once if the matrix dimension is odd.
#1. Matrix Diagonal Sum
Page 1 of 1 · 1 total