First page Back Continue Last page Graphics
do while loop
This is an exit-condition loop.
The condition is not checked until the loop body has run.
A do while loop always executes the body at least once.
do
{
body
} while ( test – expression ) ;
If the expression evaluates true, go back
If the expression evaluates false, exit