O'Reilly logo

C# 2012 for Programmers, Fifth Edition by Paul Deitel, Harvey M. Deitel, Abbey 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

5. Control Statements: Part 1

Objectives

In this chapter you’ll:

Image Use the if and if...else selection statements to choose between actions.

Image Use the while statement to execute statements repeatedly.

Image Use counter-controlled repetition and sentinel-controlled repetition.

Image Use the increment, decrement and compound assignment operators.

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