Introducing: the do-while loop
Because the statement of a do-while loop is executed once before the condition is evaluated, you can do interesting stuff like this:
If we were using an ordinary while loop, the above statement would fail. However, because the statement of a do-while loop is executed before the condition is evaluated, the above code runs once and then fails.
Too long; didn’t read
Functionally, the do-while loop is the equivalent of this while loop: