//find if an integer matrix is orthogonal, that is A*tr(A)==tr(A)*A=I, //for a matrix up to 10x10 //these matrices are the signature matrices and are diagonal matrices //whose diagonal elements are plus or minus 1 #include #include using namespace std; int main() { int i,j,k,N; int A[10][10], trA[10][10], C[10][10]; bool flag; cout<<"N "; cin>>N; cout<<"A[][]"<>A[i][j]; for (i=0; i