#include <iostream>
using namespace std;
int main()
{
int a[10];
for (int i = 0; i < 10; i++)
{
cin >> a[i];
}
int m=0, n=9;
while (m < n)
{
int t = a[m];
a[m] = a[n];
a[n] = t;
m++;
n--;
}
for(int i = 0; i < 10;i++ )
{
cout << a[i] << " ";
}
cout << endl;
return 0;
}
10-04
375
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-03
02-24
6545
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-05
1106
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交