0
what happened here?
how we got 12345 ?? https://code.sololearn.com/cnNj73k5bo7x/?ref=app
1 Resposta
+ 3
You're using recursion.
You have a base case which is if (a<= 0) and then you're calling the function while decreasing the input variable, which is essentially making it countdown. It can be compared to something such as a loop.