Skip to content

Iteration: FOR

FOR repeats a fixed number of times

  • A FOR loop counts from a start value to an end value.
  • NEXT marks the end of the loop body.

FOR Count from 1 to 4 runs four passes with Count equal to 1, 2, 3 and 4

Handout

Log in or create account

IGCSE, A-Level & AP