Give 6 examples of comparison operators
< , ==, ===, >, >==. <==
What data types do comparison expressions evaluate to?
boolean
what is purpose of if statement?
check to see if a condition is met
is else required for if statement
no
describe syntax of if statement
if (condition) {
code to run if condition is met
}
what are 3 logical operators
&&, ||, !
how to compare 2 different expressions in one condtion?
&&, ||