What is the value of the variable shipping if cost = 50 and country = "Canada"?
If (cost < 50 && country == "Canada")
Shipping = 6 . 00;
If (cost < 100 && cost > 49 && country == "Canada")
Shipping = 9 . 00;
Else
Shipping = 12 . 00;
A) 12 . 00
B) 9 . 00
C) 6 . 00
D) cannot tell since the else clause does not specify the conditions
Correct Answer:
Verified
Q22: A <select> tag surrounds a series of
Q23: Which of the following statements is TRUE,
Q24: Given the following statement, when will the
Q25: Which of the following is an advantage
Q26: Which of the following would display result
Q28: Which of the following will produce a
Q29: Given the following styles in the <head>
Q30: Select all that apply . Which of
Q31: Select all that apply . Which of
Q32: The first step in programming is to
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