Find the quotient and remainder of a division
Enter an integer dividend and divisor to find the result of the division, including the quotient and the remainder.
r
to satisfy 0 <= r < |divisor|
.a
(the dividend) and b
(the divisor), with b > 0
, there exist unique integers q
(the quotient) and r
(the remainder) such that:0 <= r < b
.