# include "stdio.h"
int main(void)
{
int a[100][100],b[100][100],c[100][100],i,j,k,e,d;
printf("请输入行数较少的矩阵的行数与列数:");
scanf("%d %d",&e,&d);
printf("请输入行数较少的矩阵:\n");
for(i=0;i
for(j=0;j
scanf("%d",&a[i][j]);
printf("请输入另外一个矩阵:\n");
for(i=0;i
for(j=0;j
scanf("%d",&b[i][j]);
for(i=0;i
for(j=0;j
for(k=0;k
c[i][j]+=a[i][k]*b[k][j];
printf("相乘后的积为:\n");
for(i=0;i
{
for(j=0;j
printf("%d ",c[i][j]);
printf("\n");
}
}
int main(void)
{
}