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
Correct Answer:
Verified
Q26: A _ occurs when two or more
Q27: Which of the following sets of conditions
Q28: The keywords And, Or, and Not, are
Q29: Which of the following is considered a
Q30: Which of the following pseudocode statements express
Q32: Which of the following uses the unary
Q33: And and Or are called _ because
Q34: The Not operator, which is placed before
Q35: A(n) _ is a tool for expressing
Q36: When two conditions are joined by the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents