#include<stdio.h>
int main()
{
int a,b,c,d,e,f,g,h,i,j;
scanf("%d,%d,%d,%d,%d,%d,%d,%d,%d,%d",&a,&b,&c,&d,&e,&f,&g,&h,&i,&j);
printf("顺序输出%d%d%d%d%d%d%d%d%d%d",a,b,c,d,e,f,g,h,i,j);
printf("反序输出%d%d%d%d%d%d%d%d%d%d",j,i,h,g,f,e,d,c,b,a);
return 0;
}
温馨提示:答案为网友推荐,仅供参考