Oct 19: while Loops (vs for)
Meet in EnGeo 2208
Learning Objectives
After today's class, you should be able to:
- Explain the syntax and meaning of a while statement.
- Identify the three main components of a
whileloop. - Explain when to use a
whileloop versus aforloop.
Lesson Outline
Presentation [10 min]
- While loops: initialization, condition, update
Activity [40 min]
Your To-Do List
- Work through the Unit 3 Review Questions
- Read the Week 9 guide and continue PA2