> Greater than (E.g An cars mass is greater than a mouse)
< Less than (E.g A persons height is less than a building)
>= Greater or equal to (E.g This years christmas trees height maybe greater than or equal to the height of your door)
<= Less or equal to (E.g The charge in your phone battery maybe less than or equal to the amount required to get you through a phone call)
== Equivalent to (Note that a single ‘=’ is called an assignment operator used to assign values to variables)
!= Not equivalent to (E.g Cat is not equivalent to a jet)
&& AND (Double Ampersand - E.g Family tickets are only valid with an adult AND a child)
| | OR (Double Pipe E.g You can have this doughnut OR this doughnut)
A conditional statement is a set of rules that will be performed if a set condition is met.
Comments