How i do stars shapes by recursion ?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How i do stars shapes by recursion ?!

I want to understand recursion and do shapes instead of for loop because it’s confusing me , i need help tomorrow will be my (Final Lab Exam) .

29th Apr 2018, 5:33 PM
ahmadaljanabi
ahmadaljanabi - avatar
2 Answers
+ 3
Sorry sir but, you are asking for the same exact thing. Recursion is a loop, although recursion could happen with some other loop like do while or something like that but pretty much speaking the word recursive means to reiterate and go back through again
10th May 2018, 11:46 PM
Shawn Gillis
Shawn Gillis - avatar
0
Thanks
10th May 2018, 11:51 PM
ahmadaljanabi
ahmadaljanabi - avatar