Objectives

After this lesson, students will be able to:

  • Use if/else conditionals to control program flow based on Boolean (true or false) tests

  • Use switch/case conditionals to control program flow based on matching explicit values

  • Use while and do/while loops

  • Understand how loop iteration using for and forEach works