[root@ocsser file]# cat array-05.c
//this is a program for two juzheng xiangcheng.
#include <stdio.h>
int main(){
int i,j,m,n;
int g,k,f;
int c[5][6];
int a[5][4]={1,5,7,3,
3,6,3,9,
1,2,8,7,
0,3,1,9,
3,2,5,4 };
int b[4][6]={3,9,1,4,1,4,
5,6,7,9,0,3,
3,2,7,2,5,6,
9,7,4,7,8,0};
printf("---------------------------/n");
printf("array a as following:/n");
for(i=0;i<4;i++){
printf("/n");
for (j=0;j<5;j++)
printf("%d ",a[i][j]);
}
printf("/n---------------------------/n");
printf("arr
两个矩阵相乘并输出的C程序
最新推荐文章于 2022-03-19 14:45:37 发布