//******************************//
//************???? ?******//
//************?? ??******//
//************?? ???******//
//************??? 001 ******//
//************????051021****//
#include <iostream.h>
int main (void)
{int A[3][4]={3,0,4,5,6,2,1,7,4,1,5,8},
B[4][4]={1,4,0,3,2,5,1,6,0,7,4,4,9,3,6,0},
C[3][4]={0},i=0,j=0,k=0;
for (i=0;i<=3;i++)
{for (j=0;j<=3;j++)
{
for (k=0;k<=3;k++)
{C[i][j]+=A[i][k]*B[k][j];
}
}
}
for (i=0;i<=2;i++)
{for (j=0;j<=3;j++)
cout<<C[i][j]<<" ";
cout<<endl;}
return 0;
}
//************???? ?******//
//************?? ??******//
//************?? ???******//
//************??? 001 ******//
//************????051021****//
#include <iostream.h>
int main (void)
{int A[3][4]={3,0,4,5,6,2,1,7,4,1,5,8},
B[4][4]={1,4,0,3,2,5,1,6,0,7,4,4,9,3,6,0},
C[3][4]={0},i=0,j=0,k=0;
for (i=0;i<=3;i++)
{for (j=0;j<=3;j++)
{
for (k=0;k<=3;k++)
{C[i][j]+=A[i][k]*B[k][j];
}
}
}
for (i=0;i<=2;i++)
{for (j=0;j<=3;j++)
cout<<C[i][j]<<" ";
cout<<endl;}
return 0;
}