Using the flowchart above, which decision statement will correctly check that hoursWorked is greater than or equal to the FULL_WEEK constant?

a.
hoursWorked >= FULL_WEEK

b.
hoursWorked > FULL_WEEK

c.
hoursWorked == FULL_WEEK

d.
hoursWorked != FULL_WEEK

Respuesta :

Answer:

hoursWorked >= FULL_WEEK

Explanation:

The operator sign and meaning:

>  means greater than

<  means less than

=  equal sign

! means NOT operator

== means equal equal sign

Option a: hoursWorked >= FULL_WEEK

It means hoursWorked is greater than or equal to FULL_WEEK.

Option b: hoursWorked > FULL_WEEK

It means hoursWorked is greater than to FULL_WEEK.

Option c: hoursWorked == FULL_WEEK

It means hoursWorked is equal equal to FULL_WEEK.

Option d: hoursWorked != FULL_WEEK

It means hoursWorked is not equal to FULL_WEEK.

Therefore, Option a is the correct option.

Otras preguntas