How to use Recursion function to calculate the product of twonon-negative integers?

Here is the code:

// Returns the product of two non-negative integers, m andn,

// using only repeated addition.

int prod(unsigned int m, unsigned int n) {

return -1; // This is incorrect.

}

## Expert Answer

Answer to How to use Recursion function to calculate the product of two non-negative integers? Here is the code: // Returns the pr…