Comparison Operators
Comparison operators are used to compare values. The most common comparison operators are:
- Equal to: ==
- Not equal to: !=
- Greater than: >
- Greater than or equal to: >=
- Less than: <
- Less than or equal to: <=
The following code shows an example of how to use comparison operators: