I need help writing this program in C
00021021000 4411717 3 01230567 7 2 6 000000-21 5 00000211 0 00002113 1 323000 21130 20100 -2-11300 10 2-113000 02-2 22-1130000 1 -11300000 2 13000000 3 0 1234567 khX XXXXXXXX
# include
# include void main() { int mata[10][10], matb[10][10], matc[10][10] ; int i, j, k, row1, col1, row2, col2 ; clrscr() ; printf(\"Enter the order of first matrix : \") ; scanf(\"%d %d\", &row1, &col1) ; printf(\"\ Enter the order of second matrix : \") ; scanf(\"%d %d\", &row2, &col2) ; if(col1 == row2) { printf(\"\ Enter the elements of first matrix : \ \ \") ; for(i = 0 ; i < row1 ; i++) for(j = 0 ; j < col1 ; j++) scanf(\"%d\", &mata[i][j]) ; printf(\"\ Enter the elements of second matrix : \ \ \") ; for(i = 0 ; i < row2 ; i++) for(j = 0 ; j < col2 ; j++) scanf(\"%d\", &matb[i][j]) ; for(i = 0 ; i < row1 ; i++) { for(j = 0 ; j < col2 ; j++) { matc[i][j] = 0 ; for(k = 0 ; k < col1 ; k++) matc[i][j] = matc[i][j] + mata[i][k] * matb[k][j] ; } } printf(\"\ The resultant matrix is : \ \ \") ; for(i = 0 ; i < row1 ; i++) { for(j = 0 ; j < col2 ; j++) { printf(\"%d \\t\", matc[i][j]) ; } printf(\"\ \") ; } } else printf(\"\ Matrix Multiplication is not possible ...\") ; getch() ; }