How multiplication of 2 number can be done without using (*) operator??
Multiplication of two no using Recursion
Hey @ashwani225
This is how you multiply 2 numbers using recursion:
- If x is less than y, swap the two variables value
- Recursively find y times the sum of x
- If any of them become zero, return 0
hey, yes it is correct !
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.