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