1. Exam Points
Predict outputof nested conditional statements.Selectthe correctalgorithm(s) based on a scenario given.Determine which part(if or else) of a given algorithmis executed.
2. Knowledge Points
(1) Nested Conditionals
Nested conditional statementsconsist of conditional statementswithinconditional statements.- You can nest any of the following conditional statement in another.
- if
- if...else
- Example:
- if in if
- if...else in if or else
- if in if