Operators
Operators are used for helping you work with variables. There are comparison operators, logical operators, assignment operators, and arithmetic operators.
Comparison Operators: A comparison operator is a binary operator (true or false value) that takes two operands whose values are compared.
| Operator | Description |
|---|---|
| == | Equal to |
| != | Not equal |
| > | Greater than |
| >= | Greater than or equal to |
| < | Less than |
| <= | Less than or equal to |
Logical Operators: A programming symbol that is used as a logical operation.
| Operator | Description |
|---|---|
| && | and |
| || | or |
| ! | Not |
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More