Multiple Choice
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
Correct Answer:
Verified
Q29: The <hr/> tag is used to display
Q30: <script> . . . </script> tags are
Q31: A grid of rows and columns can
Q32: A web page can only have one
Q33: Given the following styles in the <head>
Q35: The best way to develop a program
Q36: An advantage of the <button> tag over
Q37: Which of the following statements is TRUE,
Q38: A <select> tag surrounds a series of
Q39: JavaScript is an event-based programming language .