Solved

Suppose You Want to Determine Whether a Variable, DecPayAmount, Is

Question 6

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents