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 the condition, runs the loop body if yes, then updates the variable and repeats until the condition is false.