Various combinations and nestings of the
if and else statements are used in a program
for branching.
For example,
deciding between more than two alternatives
can be done with nested if's.
Sometimes nesting is inconvenient and confusing.
This chapter discusses other
statements for branching.
Any program can be written without using either of these statements. But they are useful enough to know about, and you will need to know them to use programs written by other programmers.