Introduction
In this chapter, we are going to explore inequalities. Inequalities are similar to equations in that they compare the expression on the left side to the expression on the right side. But rather than comparing whether the left side is equal to the right (=), it compares whether the left side is greater (>) or less (<) than the right side.
Here are some examples:
3 < 5
This states that 3 is less than 5. This is a true statement.
11 > 4
This states that 11 is greater than 4. This is also a true statement.
3 <= 5
This states that 3 is less than or equal to 5. 3 is less than 5, so this is also a true statement.
10 <= 7
This states that 10 is less than or equal to 7. 10 is not less than 7, and 10 is not equal to 7. Thus, this statement is false.
10 >= 7
This states that 10 is greater than or equal to 7. 10 is greater than 7, so this statement is true.
Comments
Please log in to add comments