#include
#defineMAX_LEN10
voidmain()
{
intiDec=2008;
intradix=60;
intvalue[MAX_LEN]={0};
intindex=0;
printf("2008的60进制数是:n");
value[index]=iDec%radix;
while(value[index]!=0)
{
index++;
iDec/=radix;
value[index]=iDec%radix;
}
for(inti=index;i>=0;i--)
printf("%d",value[i]);
printf("n");
}