c语言数字倒序
include <stdio.h
int main()
{
int x;
x=0;
scanf("%d",&x);
int digit;
int ret=0;
whi
#include <stdio.h>
int main()
{
int x;
scanf("%d", &x);
while (x)
{
printf("%d", x%10);
x /= 10;
}
return 0;
}