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 live online training, plus books, videos, and digital content from nearly 200 publishers.