Chapter 3
Controlling the Flow, Converting Types, and Handling Exceptions
Section 3
Understanding Iteration Statements
This video explains how iteration statements repeat a block either while a condition is true or for each item in a group. The choice of which statement to use is based on a combination of ease of understanding to solve the logic problem and personal reference. To understand iteration statements, you need to: - Implement a simple while statement - Implement a simple do statement - Implement a simple for statement - Implement a simple for each statement