πŸ“Š Visual Basics
Q. What is wrong with the following if-else structure?
Code:
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'
πŸ’¬ Discuss
βœ… Correct Answer: (A) No error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
68
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Kiran Rapria
Publisher
πŸ“ˆ
83%
Success Rate