6. Control Statements: Part 2

Not everything that can be counted counts, and not everything that counts can be counted.

Albert Einstein

Who can control his fate?

William Shakespeare

The used key is always bright.

Benjamin Franklin

Every advantage in the past is judged in the light of the final issue.

Demosthenes

OBJECTIVES In this chapter you’ll learn:

Image  The essentials of counter-controlled repetition.

Image  To use the for and dowhile repetition statements to execute statements in an application repeatedly.

  To understand multiple selection using ...

Get C# 2008 For Programmers Third Edition Deitel® Developer Series now with O’Reilly online learning.

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