#include #define N 5 void inputMatrix(int b[N][N]); /*Enter Matrix Values*/ void outputMatrix(int b[N][N]); /*Print Matrix*/ void rotateDiagonal(int b[N][N]); /*Rotate the matrix around the diagonal*/ void rotateRow(int b[N][N]); /*Rotate the matrix around the middle row */ void rotateColumn(int b[N][N]); /*Rotate the matrix around the middle column*/ void setUpperZero(int b[N][N]); /*Set the upper triangle to zero*/ int a[N][N],c[N][N]; int i=0,j=0; void clrscr(); #define getch getchar int main(void) { int n=0; int chose = 0; int entered = 0; while(1){ chose = menu(); chose = chose - 48; if(chose == 0) exit(1); if(chose == 1) /*sign the matrix*/ { entered = 1; } if(entered) { if(entered) { for(i=0;i