Additional Control Structures

I. The Switch Statement

II. The Do-While Statement

III. May We Introduce: Admiral Grace Murray Hopper

IV. The For Statement

V. The Break and Continue Statements

VI. Guidelines for Choosing a Looping Statment

VII. Loop Invariants as Program Comments

VIII. Testing and Debugging

A. Testing and Debugging Hints

IX. Summary