A programming language usually uses the following relational operators:
- Not Equal: (x != y) returns true if x is not equal to y, otherwise false.
- Less than: ( x < y ) returns true if x is less than y, otherwise false
- Greater than: ( x > y ) return true if x is greater than y, otherwise false
- Less than or equal to: ( x <= y ): returns true if x is less than or equal to y, otherwise false
- Greater than or equal to ( x >= y ): returns true if x is greater than or equal to y, otherwise false
No comments:
Post a Comment