1/14
Looks like no tags are added yet.
Boolean value
a data type that is either true or false
Comparison Operator
<, >, <=, >=, ==, !=, indicate a boolean expression
Logical Operator
NOT, AND, and OR, which evaluate to a boolean value
>
greater than
<
less than
>=
greater than or equal to
<=
less than or equal to
=
assignment
==
comparison
&&
logical “and” (all parts must be true for statement to be true)
||
logical “or” (at least 1 part must be true for statement to be true)
!
logical “not”
Conditional Statement
affects the sequential flow control by executing different statements based on value of a boolean expression
%
Mod operator
Function of mod operator
gives remainder when dividing