5.6: Advanced Topics
5.6.1: Nesting Control Structures
Please read this chapter, which discusses how control structures such as loops and if statements can be combined together to implement program logic.
Please complete the fill in the blanks exercise. Think of the correct response to fill in the blank, or write your answer down on a separate piece of paper. Then, click on the blank to reveal the correct answer.
5.6.2: Variable Scope within a Control Structure
Read this page, which explains the variable scope in different control structures such as a block, while loop, and branching statement such as the if statement.