remainder=quotient%10;

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 04:28:34
remainder=quotient%10;remainder=quotient%10;remainder=quotient%10;%是取余,/是除以.比如:printf("%d",5%3);===>

remainder=quotient%10;
remainder=quotient%10;

remainder=quotient%10;
%是取余,/是除以.
比如:printf("%d",5%3);===>输出2
printf("%d",5/3);===>输出1