hd =num/100 ; //获取三位数字num百位上的数字
td =(num/10)%10 ; //获取三位数字num十位上的数字
sd =num%10; //获取三位数字num个位上的数字
注释不就在后面吗,