Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

5.1: Logical and Relational Operators

( \newcommand{\kernel}{\mathrm{null}\,}\)

Symbol Meaning

== 

Relational operator: equal to.

~= 

Relational operator: not equal to.

Relational operator: less than.

<= 

Relational operator: less than or equal to.

Relational operator: greater than.

>= 

Relational operator: greater than or equal to.

Logical operator: AND.

Logical operator: OR.

Logical operator: NOT.

xor 

Logical operator: EXCLUSIVE OR.


5.1: Logical and Relational Operators is shared under a CC BY 1.3 license and was authored, remixed, and/or curated by Brian Vick, Virginia Tech.

Support Center

How can we help?