The “while” loop, Syntax
•
•
•
•
do
•
{
•
statements…
•
}
•
while ( boolean_expression );
•
•
The statements are executed at least once, then
so long as the boolean_expression is true the
statements will be executed over and over.
x = 2. x = 1