*输入一个正整数,要求以相反的顺序输出该数,例如输入12345,输出为54321。
**输入格式要求:"%d" 提示信息:“Input the number:”
**输出格式要求:"%d"
#include<stdio.h>
int main()
{
int a,b,c;
printf(“Input the number:”);
scanf("%d",&a);
b=a;
while(b>=1)
{
c=b%10;
printf("%d",c);
b=b/10;
}
return 0;
}