Including the Boundary

Introduction

Welcome back to Understanding Inequalities! This is the second lesson of the course, and you are building momentum. In our first lesson, we learned how the symbols << and >> express which of two quantities is larger or smaller. Those two symbols handle a lot of comparisons, but they leave out one important scenario: what happens when a value is allowed to equal the boundary, not just stay above or below it? That is exactly what this lesson is about. Today we introduce the symbols \leq and \geq, and we will see why that small horizontal line underneath makes a big difference.

When the Boundary Itself Counts

The Inclusive Symbols: ≤ and ≥

Strict vs. Inclusive at a Glance

Testing the Boundary Value

Everyday Situations That Need the Boundary

Common Mistakes to Watch For

Conclusion and Next Steps

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal