Conditional execution

 

Learning objectives

7.1 The basic if statement

7.2 Blocks with a single statement

7.3 Logical expressions

7.4 Expressions with more than two Boolean operators

7.5 Filling a circle on a Board object

7.6 Selecting between 2 alternatives: the if-else statement

7.7 Selecting among multiple alternatives: compound if-else statements

 

Lab 7 (pdf)