C++ program to obtain Multiplication recursively
Given two integers m and n, calculate and return their multiplication using recursion. You can only use subtraction and addition for your calculation. No other operators are allowed.
Input format: m and n (in different lines)
Sample Input:
3
5
Sample Output:
15
Algorithm:
C++ Code/Function:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer