While Statement

The while statement has the form

while ( expression ) statement

The sub-statement is executed repeatedly so long as the value of the expression remains true. The test takes place before each execution of the statement.


[BACK] [FORWARD] [HOME] [UP] [HELP]