Recursive definition solution

Since this is for exam preparation, I don’t want to give you the code for doing this. Instead I will give you some ideas.

For the question no 1. Since multiplication is repeated summation, you can use that as the base for recursion here.

If you want to find 3 * 4, use recursion to calculate and return 4 + 4 + 4.

In other words, you can see a pattern emerge below.

4 * 3 = 4 + (4 * 2)

4 * 3 = 4 + 4 + (4 * 1)

Leave a Comment