remainder=quotient%10;

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 16:04:19
remainder=quotient%10;

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

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