题解 | #计算带余除法#
衡量人体胖瘦程度
http://www.nowcoder.com/practice/4d604603fae94a26b59b7bc18f363bc0
#include<stdio.h>
int main()
{
int a,b;
scanf("%d%d",&a,&b);
int result,c;
result=a/b;
c=a-result*b;
printf("%d %d",result,c);
return 0;
}