O'Reilly logo

C How to Program, Fifth Edition by H. M. Deitel - Deitel & Associates, Inc., P. J. Deitel - Deitel & Associates, Inc.

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

Chapter 4. C Program Control

 

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

 
 --Albert Einstein
 

Who can control his fate?

 
 --William Shakespeare
 

The used key is always bright.

 
 --Benjamin Franklin
 

Intelligence ... is the faculty of making artificial objects, especially tools to make tools.

 
 --Henri Bergson
 

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

 
 --Demosthenes
<feature><title>Objectives</title>

In this chapter, you will learn:

<objective>

The essentials of counter-controlled repetition.

</objective>
<objective>

To use the for and do...while repetition statements to execute statements in a program repeatedly.

</objective>
<objective>

To understand multiple selection using the ...

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