#include<stdio.h>
main()
{
int a,b,g,s;unsigned int t;
loop1:
printf("亲,输入一个三位数\n");
scanf("%d",&a);
if(99<a && a<1000)
{
b=a/100;
g=a%10;
do
{ t=a-100;
a=t;}
while(t>100);
s=t/10;
printf("%d,%u,%d\n",g,s,b);
g=g+'0';
s=s+'0';
b=b+'0';
printf("%o,%o,%o",b,s,g);
}
else
{
printf("尼玛,输入有误\n");
goto loop1;
}goto loop1;
}