CPP - Recursion - Time to Try(problem multiple a and b with *)

i try recursive a mutiple b without *
and i used only << ,-,+ operator
check it right ?
this is link


this code not work for negative number
so that you correct my code

@khemchandrs your logic for multiplying numbers was correct, I made a little addition so that it works on negative numbers as well.


Hope this helps.