Next: Checkoff
Up: DO Loop Basics
Previous: Using the Loop Variable

Some Perspective

Learning to write DO loops takes practice. At first you may find it helpful to first write out the loop as a sequence of identical statements, as we have done in both examples in this section. As you gain experience, however, you will learn to write the loop directly without going through this intermediate step.


Next: Checkoff
Up: DO Loop Basics
Previous: Using the Loop Variable

Hamlet Project
hamlet@cs.utah.edu