#include <stdio.h>
#include <stdlib.h>
void oppsite(int n) //逆序输出函数
{
if(n==0) return;
else
printf("%d",n%10);
oppsite(n/10); //递归调用
return;
}
int main()
{
int m;
printf("input your number:\n");
scanf("%d",&m);
printf("the oppsite number is :\n");
oppsite(m);
return 0;
}