What does the term "Relational operator" mean?

These are used to compare values. x=3 is relational, it compares 3 to the letter x and says they are equal.

OperatorUseDescription
>x>3x is greater than 3 (not equal to 3)
<x<3x is less than 3 (not equal to 3)
==x==3x equals 3
!=x!=3x is not equal to 3
>=x>=3x is greater than or equal to 3
<=x<=3x is less than or equal to 3

Leave a Reply

Thank you for choosing to leave a comment. Comments may be moderated.