Concept Flow - Counter-based while loop
Initialize counter = 0
Check: counter < limit?
No→EXIT
Yes
Execute loop body
Update counter = counter + 1
↩Back to Check
Start with a counter, check if it is less than a limit, run the loop body if yes, then increase the counter and repeat until the condition is false.