Find the Remainder
mod
How it Works:
- Users input dividend (a) and divisor (b)
- Calculator performs:
- Integer division (floor(a ÷ b))
- Multiplies divisor by quotient
- Subtracts from original dividend
- Shows detailed steps of calculation
Example Calculation (17 mod 3): Result : 2
- Divide 17 by 3
- 17 ÷ 3 = 5 (integer division)
- Multiply divisor by quotient
- 3 × 5 = 15
- Subtract from dividend
- 17 - 15 = 2
- Final Result: 17 mod 3 = 2