8. The While Loop

The while loop enables you to repeat a sequence of statements
an arbitrary number of times for as long a condition is met. The syntax
is very similar to the if statement and will be introduced in the following
example: