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
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
You might also like to view...
A printer that automatically receives all print commands is called a(n) ________ printer
Fill in the blank(s) with correct word
The simplest mode of operation is the ___________ mode, in which plaintext is handled one block at a time and each block of plaintext is encrypted using the same key.
Fill in the blank(s) with the appropriate word(s).