DEV Community

loading...

Discussion on: What is Recursion?

Collapse
bahe007 profile image
Bastian Heinlein

Yes, however, it‘s just a small problem: Simply use „>=“ instead of „>“ in the loop or a do-while-loop.