Concept Flow - Nested loops
Start outer loop i=0
Start inner loop j=0
Execute inner loop body
Update inner loop j=j+1
Check inner loop j < limit?
Yes→Repeat inner loop body
No
Update outer loop i=i+1
Check outer loop i < limit?
Yes→Repeat inner loop
No
End
The outer loop runs first. For each outer loop step, the inner loop runs completely. Then the outer loop moves to the next step.