Lecture 5 OBJECTIVES
After completing this class, students will be able to:
- Use an If-Else statement correctly
- Use proper indentation for repetition statements
- Use comparison operators correctly
- Explain how to evaluate Boolean Expressions
- Use Nested Ifs
- Explain the “Dangling Else” Issue
- Use Switch statements correctly
Reading Assignment:Savitch: Section 2.4, Pages 74 - 83 (while loops) Section 7.3 - 7.4, Pages 364-392 (More Loops, for loops)
Click here for the presentation.
Take Home Assignment: Days of the Week
|