Let's refresh our understanding of loops. Remember, there
may be a case when a block of code needs to be executed many times. A
statement is usually executed sequentially: the first statement in a method is
implemented first, preceded by the second, etc. Programming languages provide
different control structures which allow more complicated execution paths. A
loop declaration will enable us to execute a statement or set of statements
multiple times. In most programming languages, the general form of a loop
statement follows. In this assignment, we will recall how loops work and a few
versions of various loops to achieve the same output.
The preperation section provides you with the elements needed to complete the requirements.
The following steps must be completed to receive the associated points for each step.
Any item marked with a * must be completed to receive a score above 0.