Iteration


      Learning Objectives
      Be able to use a while loop
      Be able to use a do..while loop
      Be able to use a for loop
      Know how to change from one type of loop to another
      Know when one form of loop is more suitable than another i.e. would not use for loop when checking if input to program is within desired range.

      Source Code from Notes
      Additional Examples
      Quick Check Exercises
      Additional Exercises to try


      Previous Lecture Home Next Lecture