Problem

Return (a % b) + (a / b) using integer division.

Examples

  • mixedMod(10, 3) -> 4
Compile and test (Ctrl+Enter)