Home > Back-end >  I again come, is still a rookie
I again come, is still a rookie

Time:09-28

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;
}

CodePudding user response:

The
reference 3 floor? Victor.?? Response:
you the original method to this

 # 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;
}

Thank you bosses (≧? ≦)/

CodePudding user response:

refer to the second floor qybao response:
your code too 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;
}

Thank you bosses (≧? ≦)/

CodePudding user response:

reference 1/f, the truth is more important than right or wrong 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; }

Thank you bosses (≧? ≦)/
  • Related