151k views
2 votes
Martha would like to create a list of all the aerobics classes being held in the Red room and in the Blue room. Which of the following comparison operators would work?

1) Equal to (=)
2) Not equal to (!=)
3) Greater than (>)
4) Less than (<)

1 Answer

3 votes

Final answer:

To list the aerobics classes in both the Red and Blue rooms, Martha should use the "equal to" (=) comparison operator.

Step-by-step explanation:

If Martha wants to create a list of all the aerobics classes being held in the Red room and in the Blue room, she would need to use the equal to (=) comparison operator. This operator will allow her to select only the classes that occur in either the Red or Blue room. The other comparison operators like not equal to (!=), greater than (>), and less than (<) are not suitable for this categorical type of comparison.

User Siliconrockstar
by
7.6k points