Concept Flow - Next and break statements
Start Loop
Check Condition
Yes
Inside Loop
Next?
Skip Rest
Back to Condition
End Loop
↩Back to Condition
The loop starts and checks the condition. Inside the loop, if 'next' is triggered, it skips to the next iteration. If 'break' is triggered, it exits the loop immediately.