Why and how does it return the next number -1 and not the result of 4*3? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why and how does it return the next number -1 and not the result of 4*3?

it looks like it would just return 12 and then it would be 12*11

5th Jul 2016, 9:43 PM
Ryan Wickman
2 Answers
+ 4
would you please show the code what are you talking about, so we can help 😊
6th Jul 2016, 5:47 PM
Moersy
Moersy - avatar
0
it's in the methods lesson, recursion
6th Jul 2016, 6:44 PM
Ryan Wickman