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