Operators: are programming blocks used to perform mathematical operations or logical comparisons.
These blocks allow you to manipulate numbers and make decisions based on conditions.
Such as:
These mathematical operations allow you to perform calculations and manipulate numbers to control the behavior of your EV3 robot.
You need to use Display block. I used this display block in order to make it as big as possible!
These inequalities are used to "compare" so then make decisions based on conditions.
-> Greater Than (>): Checks if one value is greater than another. For example, 5 > 3 is true because 5 is greater than 3.
-> Less Than (<): Checks if one value is less than another. For example, 3 < 5 is true because 3 is less than 5.
-> Equal To (=): Checks if two values are equal. For example, 5 = 5 is true because 5 is equal to 5.
Notice it's the same thing!
We use Operator to be able to be able to set more values that it's avaible.