What is wrong with the following if-else structure?
If intQuantity > 5 Then
dblDiscountRate = .1
Else
dblDiscountRate = .05
End If
If intQuantity > 5 Then
dblDiscountRate = .1
Else
dblDiscountRate = .05
End If
A. No error
B. Conditions not in brackets
C. No ; after statements
D. 'Then' should have been 'then'
Answer: Option A

Join The Discussion