Control Constructs


      Learning Objectives
      Know the relational and logical operators
      Be able to use the if statement
      Be able to use the if....else statement
      Be able to use the else ... if statement to implement multi-way branching
      Know when it is suitable to use the switch statement for multi-way branching and be able to implement it

      Source Code from Notes
      Additional Examples
      Quick Check Exercises
      Additional Exercises to try
      Test Cases for Tutorials


      Previous Lecture Home Next Lecture