multiple two number without *
with recursion
i don’t know how can i solve it
multiple two number without *
with recursion
i don’t know how can i solve it
@khemchandrs
We know that multiplication is just repetitive addition.
3 * 4 = 3+3+3+3 ( 4 times ).
So just implement a recursive function that would add the first integer to itself y number of times where y is the second integer.
Handle corner cases for negative integers.
Try it out and let me know if you need any help with the implementation.