+ 1
Help me undetstand why its a loop plz
4 Respuestas
+ 3
It is not a loop. It is a recursive.
Take a paper and a pencil and follow line by line.
Most learner are excited once they understood.
It is worth the effort!
+ 2
עומר גניש
It's a factorial using recursion so here answer will come 120.
5! = 120
5 * 4 * 3 * 2 * 1 = 120
0
I don't understand why it doesn't outputing 20 and end there
0
help me undetstand it