revised 10/03/98; 08/05/99; 01/20/00

CHAPTER 16 --- More about Counting Loops

This chapter gives you more practice with counting loops. There are other types of loops than counting loops, but counting loops are by far the most common and well worth further study.

Chapter Topics:

  • Counting upward by Two's
  • The while condition as a Gatekeeper
  • Iteration
  • Decrementing the Loop Control Variable
  • Infinite Loops
  • Basing a Value on the Loop Control Variable

QUESTION 1:

(Review) What three parts of a loop must be coordinated in order for the loop to work properly?

Click Here after you have answered the question