Question

2. 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

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8

Fig: 9

Fig: 10

Fig: 11

Fig: 12

Fig: 13