Concept Flow - Loop execution flow
Initialize counter i=0
Check condition i < 3?
No→EXIT LOOP
Yes
Execute loop body
Update counter i = i + 1
↩Back to condition check
The loop starts by setting a counter, checks if it meets the condition, runs the loop body if yes, updates the counter, and repeats until the condition is false.