# Tag Archives: Matrix

## WAP in C++ & Python that finds the sum of elements above and below the main diagonal of a Matrix

Here in this program, we will code to find out the sum of non-diagonal elements and separate them with elements above the diagonal and elements below the diagonal. Here in this article, we will consider only one diagonal the left to right one.