Operator | Syntax | Explanation |
---|---|---|
== | x == y | x is equal to y |
!= | x != y | x is not equal to y |
> | x > y | x is greater than y |
< | x < y | x is less than y |
>= | x >= y | x is greater than or equal to y |
<= | x <= y | x is less than or equal to y |
Click the triangle button to run the codes and see the output:
You are expected to comply with University policies and guidelines namely, Appropriate Use of Information Resources Policy, IT Usage Policy and Social Media Policy. Users will be personally liable for any infringement of Copyright and Licensing laws. Unless otherwise stated, all guide content is licensed by CC BY-NC 4.0.