if statement (p. 54) makes a decision based on a condition’s value (true or false).
• Conditions in
if statements can be formed by using the equality (
!=) and relational (
<=) operators (p. 54).
if statement begins with keyword
if followed by a condition in parentheses and expects one statement in its body.
• The empty statement (p. 57) is a statement that does not perform a task.