Suppose you want to determine whether a variable, decPayAmount, is between 1200 and 1400, inclusively. If it is, you want to set lblMessage text to "Pay amount is in the range". Which of the following code segments will accomplish this?
A) If decPayAmount < = 1200 And decPayAmount >= 1400 Then lblMessage.Text = "Pay amount is in the range"
End If
B) If decPayAmount < =1200 Or decPayAmount >= 1400 Then lblMessage.Text = "Pay amount is in the range"
End If
C) If decPayAmount >=1200 And decPayAmount < =1400 then lblMessage.Text = "Pay amount is in the range"
End If
D) If decPayAmount > 1200 Or decPayAmount < 1400 Then .Text = "Pay amount is in the range"
End If
Correct Answer:
Verified
Q3: What value is assigned to decTaxes by
Q4: What value will be assigned to intIndex
Q5: What value will be assigned to intIndex
Q6: Because only one radio button in a
Q8: What value is assigned to the variable
Q12: Which function accepts a string as its
Q13: The first character in a string has
Q17: What value is assigned to decTaxes by
Q18: Which of the following code segments assigns
Q19: Which statement assigns the string strAddress 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