Hi guys,
I'm trying to solve a problem recusrively. I'm asked to multiply two numbers with only using Addition,Subtraction and Comparison.
After looking around the internet, it seems that the Algorithm I should use is Egyptian Algorithm . Click Here
I would like some tips on how to solve this. What's going to be my stopping condition? I know I should stope when I have sum of equal the large number. But how would I check?