while

Example: while

Performs an iterative loop. An instruction or instruction block is executed repeatedly as long as the while expression is true. The test on the expression takes place before the execution of the statement.

while( expression ) statement...