Although I solved the task, I am having trouble following the looping logic. Both counters i and j start off at zero and then are incremented by one. How then, does the inner loop know how many times to print "8" before moving to the next line? I tried to follow the logic but can't seem to figure it out. I hope the question is clear. Thanks!
Explanation of Looping Logic
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
DeCC
8 July 2019, 09:29
I don't know if I'm getting your question totally right but if you've solved the problem by using an outer and inner loop: You're not supposed to solve problems by using two loops at this moment, you're just getting there and then, the logic will be explained to you ;)
I mean, I could explain it to you but the course will do this later on anyway so...
0
Jay
8 July 2019, 23:14
OK. Well as long as it'll be explained at some point then I guess i'll just wait....
Thanks.
0