how to multiply using recursion without using *?plz explain
How to multiply using recursion
Keep adding the number.
For example if you want 2X3, add 2 three times.
2 + 2 + 2 = 6
So can u please help me up with the code…like if u can give the code with explanation…
Plz hlp me up with the code
There you go. Tell me if you are able to understand it.
if (x < y)
return product(y, x);
why this line??like if we have 5,4 then what hppns and if we have 4,5 then what hppns?
Its very difficult to explain like this on chat.
Please watch this video -
okay…understood the point
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.