33.0k views
4 votes
Identify the false statement.

a. When you must make a series of decisions in a program, it is most efficient to first ask the question that is most likely to be true.
b. The statement if(payRate < 6.00 && payRate > 50.00) can be used to select payRate values that are higher or lower than the specified limits.
c. A range check is a series of statements that determine within which of a set of ranges a value falls.

User Alondono
by
7.5k points

1 Answer

5 votes

Final answer:

The false statement is option b. The statement if(payRate < 6.00 && payRate > 50.00) is incorrect because it is logically impossible for a value to be simultaneously less than 6.00 and greater than 50.00.

Step-by-step explanation:

The false statement among the given options is option b. The statement if(payRate < 6.00 && payRate > 50.00) can be used to select payRate values that are higher or lower than the specified limits. This statement is incorrect because it is logically impossible for a value to be simultaneously less than 6.00 and greater than 50.00.

Therefore, this statement cannot be used to select payRate values that are higher or lower than the specified limits. The correct statement to select values that are higher or lower than the specified limits would be if(payRate < 6.00 || payRate > 50.00).

User Seema Kadavan
by
8.0k points