#include
using namespace std;
#define M 6
#define N 3
void mulMatri(int x[M][N],int y[N][M],int z[M][M],int m,int n);
int main()
{
int i,j;
int x[M][N],y[N][M],z[M][M];
for(i=0;i for(j=0;j cin>>x[i][j]; for(i=0;i for(j=0;j cin>>y[i][j]; mulMatri( x,y,z,M,N); cout< for(i=0;i for(j=0;j cout< cout< } system("pause"); return 0; } void mulMatri(int x[M][N],int y[N][M],int z[M][M],int m,int n) { int i,j,k; for(i=0;i for(j=0;j z[i][j]=0; for(k=0;k z[i][j]+=x[i][k]*y[k][j]; } }