Concept Flow - Break, next, and redo behavior
Start Loop
Check Condition
Yes
Inside Loop Body
next?
Yes→Skip to Next Iteration
redo?
Yes→Repeat Current Iteration
break?
Yes→Exit Loop
Continue Loop
End Loop
The loop starts and checks the condition. Inside the loop, 'next' skips to the next iteration, 'redo' repeats the current iteration, and 'break' exits the loop immediately.