I need assistance (again) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need assistance (again)

I fixed it but no progress https://code.sololearn.com/ccIbO54gMZB1/#node

15th Nov 2021, 9:01 PM
Jackson Jameson
Jackson Jameson - avatar
2 Answers
0
1 - Which type of loop it is? for ((7-2); (+7-2); (6)); 2 - and where are you incrementing value of i? 3 - if(i > 6) then what? 4 - And what is the use of variable 'depth'? 5 - And why for and while loop together? You need to understand these 5 points to solve your problem.
16th Nov 2021, 2:25 AM
A͢J
A͢J - avatar
0
Please check the lessons on loops and if-statements again. Learn to write a loop before you start solving the problem. https://www.sololearn.com/Discuss/2923944/?ref=app
16th Nov 2021, 7:10 AM
Lisa
Lisa - avatar