multiply(array1,array2,result);//call the function multipy
size_t i,j;
for(i=0;i<ROW1;i++)
{
for(int j=0;j<ROW2;j++)
{
printf("%d ",result[i][j]);
}
printf("\n");
}
return 0;
}
複製代碼
Please finish the definition/code of the function multiply(), which recevies two two-dimensional arrays(array1 and array2),perform the martrix multiplication, and then store the outcome in the third two-dimensional array(result).作者: 李泳霖 時間: 2023-5-17 15:35