Any sort of complex program must have some ability to control flow. Without this control, programs become limited to one basic job each time the program is run. The most basic of these control structures is the if statement, followed by the if-else, and then the switch statement.
The key topics for this lesson are:
- Structured Programming
- Control Structures
- Algorithm Development and Pseudocode
- Relational Operators
- Logical Operators
- Precedence and Associativity of Operators
- The if-else Statements
- Compound Statements
- Nested if-else Statements
- Conditional Operator
- Boolean Identifiers
- Switch Statements (Optional)
|