woodyCheers
#include<stdio.h>
int main(){
int num, temp;
int weishu;
scanf("%d", &num);
temp = num;
while(temp != 0)
{
temp = temp/10;
weishu ++;
}
printf("这是一个%d位数\n", weishu);
temp = num;
while(temp !=0)
{
printf("%d", temp%10);
temp = temp/10;
}
return 0;
}