Concept Flow - While loop execution flow
Initialize variable
Check condition
Yes
Execute loop body
Update variable
Back to Check
Exit loop
↩Back to Check
The while loop starts by checking a condition. If true, it runs the loop body, updates variables, then checks again. It stops when the condition is false.