Learning objectives
Trace a method containing an if or if-else nested inside another if body for three given inputs, and state the result and which Boolean expressions were evaluated.
Rewrite a two-level nested if as an equivalent compound-condition if-else-if chain, and test the two forms on at least three inputs.
Continue with a revision plan
These learning objectives are available to everyone. Sign in with an eligible plan to read the full note and worked examples.
