Ask bosses, I where there is a problem, how should change, thank you
CodePudding user response:
Consider using more than
int array []={1,2,3,4,5,6,7,8, 9}; For (int I=0; I & lt; 9. I++) { Cout & lt; }
CodePudding user response:
Your code is so complicated
int main () { Int a [9], I; for (i=0; I<9. I++) { The scanf (" % d ", & amp; A [I]); } for (i=0; I<9. I++) { Printf (" % d ", a [9] (I + 2) %). } return 0; }
CodePudding user response:
The original method to you so
# include
Int main () { Int a [9], m, n, I; For (I=0; I & lt; 9. I++) The scanf (" % d ", & amp; A [I]); M=a, [7]. N=a, [8]. For (I=8; I & gt; 1; I -) A [I]=a, [I - 2). A [0]=n; A [1]=m; For (I=0; I & lt; 9. I++) Printf (" % d ", a [I]); return 0; }