这个是啥意思不懂呀
#include<stdio.h>#include<math.h>
void main()
{
long int num;
int indiv,ten,hundred,thousand,ten_thousand,place;
printf("请输入一个人整数0—9999\n");
scanf("%ld",&num);
if(num>9999)
place=5;
else if(num>999)
place=4;
else if(num>99)
place=3;
else if(num>9)
place=2;
else place=1;
printf("位数=%d\n",place);
printf("每个数字为");
ten_thousand=num/10000;
thousand=(int)(num-ten_thousand*10000)/1000;
hundred=(int)(num-ten_thousand*10000-thousand*1000)/100;
ten=(int)(num-ten_thousand*10000-thousand*1000-hundred*100)/10;
indiv=(int)(num-ten_thousand*10000-thousand*1000-hundred*100-ten*10);
printf("%d,%d,%d,%d,%d",ten_thousand,thousand,hundred,ten,indiv);
}
我输入45689
程序22行mun-thousand现在thousan是几呀
23和24行的hundrd和ten都是几呀我很想不通。我是小白呀