Solved

What Would Be the Value of DiscountRate After the Following

Question 19

Multiple Choice

What would be the value of discountRate after the following statements are executed?
Double discountRate;
Char custType = 'B';
Switch (custType)
{
Case 'A':
DiscountRate = .08;
Break;
Case 'B':
DiscountRate = .06;
Case 'C':
DiscountRate = .04;
Default:
DiscountRate = 0.0;
}


A) .08
B) .06
C) .04
D) 0.0

Correct Answer:

verifed

Verified

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

Related Questions