Chapter 8

RepetitionStatements

Chapter Objectives

images  By the end of the chapter, readers will be able to:

images  Recognize the value of using repetition control statements.

images  Understand the syntax for the three different types of loops.

images  Implement the while loop, do-while loop, and for loop structures.

  Understand the flow of a nested loop.

  Understand ...

Get C++: An Active Learning Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.