Solved

What Is the Value of the Variable Shipping If Cost

Question 34

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions