Is there any other condition possible apart from "if else" for recursion functions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there any other condition possible apart from "if else" for recursion functions?

23rd Apr 2018, 11:52 AM
Augustine Agyemang-Duah
Augustine Agyemang-Duah - avatar
1 Answer
0
How you telled you need conditions for break recursion and then you can use only conditional expressions then: - if else - switch - condition ternary operator That its
23rd Apr 2018, 2:39 PM
KrOW
KrOW - avatar