Question: Which statement about using relational comparison operators is correct? Group of answer choices If color is assigned the value green, the Boolean expression color =

Which statement about using relational comparison operators is correct?
Group of answer choices
If color is assigned the value "green", the Boolean expression color = "Green" will always evaluate to true.
If totalPrice is assigned a numeric value, the Boolean expression totalPrice ="35" is incorrect because the operands have different data types.
The Boolean expression currentRPM = MAXRPM is not permitted because you cannot compare a variable to a named constant.
If taxRate is assigned a numeric value, the Boolean expression taxRate =.8 is a trivial expression.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!