Case 1 - Jack of All Trades
Jack of All Trades rents small power equipment to commercial and residential customers. The strCustomer variable is used to determine whether a customer is commercial (C) or residential (R) . Commercial customers receive a 10% discount if they are members of the Rental Rewards Program. Residential customers receive a 5% discount if they are members.
-Which of the following If clauses would evaluate to True and apply the 10% discount for a commercial customer?
A) If strCustomer <> "C" AndAlso strMember <> "Y"
B) If strCustomer = "C" AndAlso strMember = "Y"
C) If strCustomer <> "R" OrElse strMember = "Y"
D) If strCustomer = "C" OrElse strMember = "Y"
Correct Answer:
Verified
Q29: In the MessageBox.Show (text,caption,buttons,icon[,defaultButton]) method,which of the
Q30: You use the _ method to select
Q31: Consider the expression 3 * 2 ^
Q32: You can use a(n)_ to visually separate
Q33: To prevent a text box from accepting
Q35: Logical operators are sometimes referred to as
Q36: A control's _ event occurs each time
Q37: Case 1 - Jack of All Trades
Jack
Q38: A text box's _ event occurs when
Q39: The _ method displays a message box
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