Q442
What is wrong with the following if-else structure? If intQuantity > 5 Then dblDiscountRate = .1 Else dblDiscountRate = .05 End If
A.
No error
AnswerB.
Conditions not in brackets
C.
No ; after statements
D.
'Then' should have been 'then'
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board