Zebra0.com

cpp booleanBoolean operators

Boolean operators

The Boolean operators are a bit different from the ones used in algebra because we have to be able to type them.

==equal (Remember, a single = is used to assign a value!)
<less than
>greater than
>=greater than or equal to
<=less than or equal to
!=not equal

NEXT: Boolean Expressions