Because of warning it is not submitting the code
in warning it is mentioned that you are not returning anything from a non void function so return something from your fucntion.
when b!=0 return this gcd(b,a%b);
how i didnt get that if i return anything globally it will return it without calling recursion
can you please tell me what to do
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.