Next: Multiple Choice Questions
Up: Nested if and if-else
Previous: Nested if and if-else
if and if-else statements can be used to implement
decisions which have more than two outcomes.if-else statements each else is associated with
the nearest preceding if which has no else already
associated with it.