remainder=quotient%10;

来源:学生作业帮助网 编辑:六六作业网 时间:2024/07/10 13:09:59
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