previous
|
start
|
next
The
do
Loop (Syntax 7.2 :
do/while
Statement)
Syntax 7.2:
do/while
Statement
do
statement
while (
condition
);
Example:
do x = sqrt(x) while (x >= 10);
Purpose:
Execute the statement, then test the condition, and repeat the statement while the condition remains true.
previous
|
start
|
next