Objective
A square matrix is symmetric if it equals its transpose: element m[i][j] matches m[j][i].
Instructions
- The first line has the size
n; then comenrows withnvalues. - Show
SymmetricorNot symmetric.
2
1 2
2 1
Symmetric
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise