Chapter 8. More Control Statements
Grammar, which knows how to control even kings . . . —Molière
At this point we know enough to create very simple programs. In this
chapter we move on to more complex statements. For controlled looping
we have the for statement. We also
study the switch statement. This
statement can be quite powerful and complex, but as we shall see in
the following sections, if used right it can be very efficient and
effective.
But we start our discussion with a new looping statement, the
for.
|