Viewing code of MULTIRAJ
// ------ MULTIRAJ.CPP --------------
//--- Programmed By Rajesh -----

/* Program by rajesh

program to multiply two matrices
*/
#include<stdio.h>
#include<conio.h>
void main(){
int i,j,a[100][100],b[100][100],c[100][100],m,n,o,p,z;
printf("Enter the size of mXn matrix a \n m:");
scanf("%d",&m);
printf("\nn:");
scanf("%d",&n);
printf("Enter the size of oXp matrix b\n:");
scanf("%d",&o);
printf("\n:");
scanf("%d",&p);
/* if else started */
if(n==o){
printf("\t\tEnter the first %dX%d matrix\n",m,n);

for(i=0;i<m;i++){
for(j=0;j<n;j++){
printf("\n:");
scanf("%d",&a[i][j]);
}
}

printf("\n\n\t\tEnter the second %dX%dmatrix\n",o,p);


for(i=0;i<o;i++){
for(j=0;j<p;j++){
printf("\n:");
scanf("%d",&b[i][j]);
}
}
clrscr();
/* prepare a matrix of mXo and reset values of matrix c to zero
*/
for(i=0;i<m;i++) for(j=0;j<o;j++)
c[i][j]=0;

printf("The multiplied matrix is :\n\n");
for(i=0;i<m;i++)
{
for(z=0;z<p;z++)
{
for(j=0;j<n;j++){
c[i][z]+= a[i][j]*b[j][i];
}
}
}

for(i=0;i<m;i++){
for(j=0;j<p;j++)
printf("%d\t",c[i][j]);
printf("\n");
}
/* else closes */
}

else
printf(" Multiplication is impossible for %dX%d matrix and %dX%d matrix",m,n,o,p);

getch();
}