#include<stdio.h>
#include<math.h>
int main()
{
int a;
scanf("%d",&a);
int b=a/1000;
int c=a/100%10;
int d=a/10%10;
int e=a%10;
printf("%d%d%d%d",e,d,c,b);
return 0;
}
标签:10,main,四位数,--,反序,d%,int,include
来源: https://blog.csdn.net/qq_62095410/article/details/122276172