Concept Flow - Repeat function for simple repetition
Start
Call repeat(n)
Initialize counter i=0
Check i < n?
No→End repeat
Yes
Execute block
Increment i
↩Back to Check
The repeat function runs a block of code n times by counting from 0 to n-1 and executing the block each time.