6

Looping

KNOWLEDGE GOALS

Image   To understand the flow of control in a loop.

Image   To understand the differences between count-controlled, event-controlled, and flag-controlled loops.

Image   To understand counting and summing operations within a loop.

Image   To know how to choose the correct type of loop for a given problem.

SKILL GOALS

To be able to:

   Construct ...

Get Programming and Problem Solving with C++: Brief, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.