Revisions: 08/24/01 small changes; 10/15/04 reformatted

CHAPTER 8 — Example Programs with Loops

The previous chapter discussed how a loop starts out and how it ends. This chapter discusses some almost useful programs where a correctly working loop is essential.

Chapter Topics:

QUESTION 1:

Say that you wanted to write "Hello" on the computer monitor 10 times. How (in general) could you do this?