hd = num/100; td = (num%100)/10; sd =num%10; 这个是什么意思啊?!不懂~
hd = num除以100;
td = (num对100求余数) 再除以10;
sd = num 对10 求余数