Ring/Lessons/Operators

Operators
In this chapter we will introduce the operators provided by the Ring programming language.

Arithmetic Operators
The next table presents all of the arithmetic operators provided by the Ring language. Assume variable X=50 and variable Y=10 then:

Relational Operators
The next table presents all of the relational operators provided by the Ring language. Assume variable X=50 and variable Y=10 then:

Logical Operators
The next table presents all of the logical operators provided by the Ring language. Assume variable X=True and variable Y=False then:

Bitwise Operators
The next table presents all of the bitwise operators provided by the Ring language. Assume variable X=8 and variable Y=2 then:

Assignment Operators
The next table presents all of the assignment operators provided by the Ring language.

Assume variable X=8 then:

Operators Precedence
The next table present operators from higher precedence (Evaluated first) to lower precedence.

Example: