The preceding example checks whether the temperature is less than or equal to 32
degrees Fahrenheit (the freezing point of water). If it is, a message is printed. Otherwise,
no message is printed, and code execution continues after the if statement’s closing
brace.
The if statement can provide an alternative set of statements, known as an else clause,
for when the if condition is false. These statements are indicated by the else keyword: