Which of the following pseudocode statements expresses the condition below?A hotel customer gets a 10% discount for showing a hotel club card or a travel club card.

A. If showsHotelClubCard And showsTravelClubCard Then
   discount = 0.10
Else
   discount = 0.00
End If
B. If showsHotelClubCard Or showsTravelClubCard Then
   discount = 0.00
Else
   discount = 0.10
End If
C. If showsHotelClubCard Or showsTravelClubCard Then
   discount = 0.10
Else
   discount = 0.00
End If
D. If showsHotelClubCard And showsTravelClubCard Then
   discount = 0.00
Else
   discount = 0.10
End If

Answer: C

Computer Science & Information Technology

You might also like to view...

In a formula with multiple operators, you can force one operation to be evaluated before another by using:

A) exclamation points. B) quotation marks. C) single quotes. D) parentheses.

Computer Science & Information Technology

If there are seven variables, the ________ value is the 4th variable in the list where there are three variables above and three variables below

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology