for

Executes a statement repeatedly until the condition becomes false

Arguments

  1. Initial expression. Before any other element of the for statement, initial expression is executed only once. Control then passes to condition expression.
  2. Condition expression. Before execution of each iteration of statement, including the first iteration. Statement is executed only if condition expression evaluates to true.
  3. Loop expression. At the end of each iteration of statement. After loop expression is executed, condition expression is evaluated.

Output

Void

Examples

for