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...
Give an example in which a transaction in a distributed database system does not commit atomically (one database manager it accessed commits, and another aborts) and leaves the database in an inconsistent state.
What will be an ideal response?
Draw a picture of a point-to-point wireless connection.
What will be an ideal response?
When a question is asked of a database using a select query, the answer is returned as a data sheet. ____________________
Answer the following statement true (T) or false (F)
The malicious code attack includes the execution of viruses, worms, Trojan horses, and active Web scripts with the intent to destroy or steal information. __________
Answer the following statement true (T) or false (F)