Please enable JavaScript to use CodeHS

Delaware Foundations of Computer Science

Lesson 7.3 Comparison Operators

Description

In this lesson, students learn how to use comparison operators. Comparison operators let students compare two values.


Objective

Students will be able to…

  • Explain the meaning of each of the comparison operators (<, <=, >, >=, ==, !=)
  • Create programs using the comparison operators to compare values
  • Predict the boolean result of comparing two values
  • Print out the boolean result of comparing values