逆向排序
Posted xderbyy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了逆向排序相关的知识,希望对你有一定的参考价值。
#include <stdio.h>
int main()
{
int x;
scanf("%d",&x);
int t;
int ret=0;
do
{
t=x%10;
ret=ret*10+t;
x/=10;
}while(x>0);
printf("%d",ret);
}
以上是关于逆向排序的主要内容,如果未能解决你的问题,请参考以下文章