#include <stdio.h>
int main()
{
int n=0;
scanf("%d",&n);
while(n)
{
printf("%d",n%10);
n/=10;
}
return 0;
}
12-15
5585
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-15
2842
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
#include <stdio.h>
int main()
{
int n=0;
scanf("%d",&n);
while(n)
{
printf("%d",n%10);
n/=10;
}
return 0;
}