SPC
Version 0.9.5
|
A variant of the while loop is the do-while loop.
The syntax for this control structure is shown below.
The difference between a while loop and a do-while loop is that the do-while loop always executes the body at least once, whereas the while loop may not execute it at all.