How does an if ... else statement choose a branch?
if ... else
The else block must repeat the same condition before it can run.
else
The else block runs when the condition is true, and the if block runs when it is false.
if
The if block runs when its condition is true; otherwise the else block runs.
Both blocks always run in order, regardless of the condition.