// must find the sum S of elements in the main diagonal and the opposite diagonal // of the matrix. Then the program must replace all the elements in the main // diagonal and the opposite diagonal by ...
In this program, the user will give a 3x3 matrix and we will print it and also find the sum its main diagonal element & display it.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results