Give 6 examples of comparison operators.
What data type do comparison expressions evaluate to?
Boolean.
What is the purpose of an if statement?
The if statement evaluates (checks) a condition.
Is else required in order to use an if statement?
No.
Describe the syntax (structure) of an if statement.
Keyword if; Condition; Opening curly brace; Code to execute if value is true; Closing curly brace.
How do you compare two different expressions in the same condition?
Using logical operators.