O'Reilly logo

C++ for Programmers: Deitel by Harvey M. Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. Control Statements: Part 1

Objectives

In this chapter you’ll learn:

Image  To use the if and if...else selection statements to choose among alternative actions.

Image  To use the while repetition statement to execute statements in a program repeatedly.

Image  Counter-controlled repetition and sentinel-controlled repetition.

Image  To use the increment, decrement ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required