Concept Flow - Break and continue behavior
Start Loop
Check Condition
Yes
Inside Loop Body
If 'continue' condition?
Yes→Skip rest, next iteration
If 'break' condition?
Yes→Exit Loop
Execute remaining loop code
Next iteration
Back to Check Condition
End Loop
↩Back to Check Condition
The loop checks a condition each time. If 'continue' is met, it skips to the next iteration. If 'break' is met, it exits the loop immediately.