#include <stdio.h>
#include <math.h>
int main(){
const int N = 20;
int a[N], i, j, t;
for(i = 0; i < N;i++)
scanf("%d", &a[i]);
i = 0;
j = N;
while( i < j){
t = a[i];
a[i] = a[j - 1];
a[j - 1] = t;
i++;
j--;
}
for( i = 0; i < N;i++)
printf(" %d", a[i]);
printf("\n");
}
01-07
1196
02-07
8602
11-16
5842
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交