If intQuantity >= 10 Then dblTotal = intQuantity * 2.5
Else
dblTotal = intQuantity * 3.5
End If
The intQuantity variable contains the number 8 before the code above is processed. What value will be in the dblTotal variable after the code is processed?
A) 0
B) 20
C) 28
D) 35
Correct Answer:
Verified
Q3: Variables declared within a statement block are
Q4: String comparisons in Visual Basic are case-sensitive.
Q5: In Visual Basic, _ is the not
Q6: You do not always need to include
Q7: You can divide by zero in Visual
Q9: In a single-alternative selection structure, the tasks
Q10: The set of statements contained in each
Q11: You use the _ operator to connect
Q12: Another term for a selection structure is
Q13: Comparison operators are also referred to as
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents