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
Q1: A variable that has block scope can
Q2: In a dual-alternative selection structure, the word
Q3: Variables declared within a statement block are
Q6: You do not always need to include
Q10: The set of statements contained in each
Q16: Visual Basic provides the _ statement for
Q22: If the intAge variable contains the number
Q28: Programmers refer to the process of verifying
Q30: _ tables summarize how the computer evaluates
Q40: When you use the _ operator to
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