Problem

Return a*b using recursion and addition (b>=0).

Examples

  • multRec(3, 4) -> 12
Compile and test (Ctrl+Enter)