I don't understand how people are solving this problem (and some others) with nested for loops/multiple for loops. It'd make sense if say the variables carried through them or if I didn't have to define a variable in EACH for loop :S. I really dislike having to create a variable in every for loop. Are there people who'd message me an example of the solution?
It won't let me attach my code but here's the structure of how I solved this.
if()
__for()
if()
Not understanding
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
David J. Malan
5 March 2019, 12:09
You don't need to nest for loops in this task ;)
0
Guadalupe Gagnon
15 February 2019, 14:13
messaged you
0
William Leininger
15 February 2019, 14:15
reading now. Thank you so much Guadalupe!
+1