previous
|
start
|
next
while
Loops
Executes a block of code repeatedly
A condition controls how often the loop is executed
while (
condition
)
statement
;
Most commonly, the statement is a block statement (set of statements delimited by
{ }
)
previous
|
start
|
next