int j;int x[3][3]={1,2,3,4,5,6,7,8,9}; for (j=2; j>=0; j--) printf("%2d",x[j][2-j]);
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/27 11:48:26
![int j;int x[3][3]={1,2,3,4,5,6,7,8,9}; for (j=2; j>=0; j--) printf(](/uploads/image/z/9479763-27-3.jpg?t=int+j%3Bint+x%5B3%5D%5B3%5D%3D%7B1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%7D%3B+for+%28j%3D2%3B+j%3E%3D0%3B+j--%29+printf%28%22%252d%22%2Cx%5Bj%5D%5B2-j%5D%29%3B)
x)+QȲƱ@d[mccccccccYk_ekdegk $uu5
4TRt*btb5mic~
d^ixYWד]=woy6u-O;ڞebaӎz:, g}';|g<^\TF 1v 4
int j;int x[3][3]={1,2,3,4,5,6,7,8,9}; for (j=2; j>=0; j--) printf("%2d",x[j][2-j]);
int j;int x[3][3]={1,2,3,4,5,6,7,8,9}; for (j=2; j>=0; j--) printf("%2d",x[j][2-j]);
int j;int x[3][3]={1,2,3,4,5,6,7,8,9}; for (j=2; j>=0; j--) printf("%2d",x[j][2-j]);
你只需要把二维数组分为3行3列按行列式排列一下
结果是 7 5 3