while execute? 3while statement
Here is the syntax for the while statement:
while ( condition ) statement
Notes:
Since the statement can be a single statement or
a block statement,
a while statement looks like
either of the following:
Varieties of while Statements | |
|---|---|
|
|
The style of indenting used here leads to fewer errors than alternative styles.
Is the booleanExpression always surrounded by parentheses?