HTML and CSS Reference
Figure 6.4 Output from Example 6.5.
The do/while statement executes a block of statements repeatedly until a condition
becomes false. Owing to its structure, this loop necessarily executes the statements in
the body of the loop at least once before testing its expression, which is found at the bot-
tom of the block. The do/while loop is supported in Mozilla/Firefox and Internet
<h2>Do While Loop</h2>
} while ( i < 10 )