Give 6 examples of comparison operators.
<=, >=, ===, < , >
What data type do comparison expressions evaluate to?
boolean
What is the purpose of an if statement?
a conditional statement to check whether or not to do certain actions
Is else required in order to use an if statement?
it is not required
Describe the syntax (structure) of an if statement.
there is a if keyword followed by a condition in parentheses ( ) and an opening curly brace for the code and closing curly brace
What are the three logical operators?
&& (and), | | (or), ! (not)
How do you compare two different expressions in the same condition?
using the logical operators