 | Chapter Objectives (See related pages)
After you have read and studied this chapter, you should be able to- Implement selection control in a program by using if statements.
- Implement selection control in a program by using switch statements.
- Write boolean expressions with relational and boolean operators.
- Evaluate given boolean expressions correctly.
- Nest an if statement inside another if statement’s then or else part correctly.
- Describe how objects are compared.
- Choose the appropriate selection control statement for a given task.
|
|