Identify the correct Select Case statement that checks the value of a variable intMyNum and assigns a value using the following guidelines:
value 1 or 7 or 15 add 100 to the variable
value 2 or 9 or 21 add 150 to the variable
value 3 or 6 or 13 add 200 to the variable
none of the above set txtOutput.Text to “Cannot find it”
a. ``` Select Case Value
Case intMyNum = 1 Or 7 or 15
intMyNum += 100
Case intMyNum = 2 Or 9 or 21
intMyNum += 150
Case intMyNum= 3 Or 6 or 13
intMyNum += 200
Case else
txtOutput.Text = “Cannot find it”
End Case
```
b. ``` Select Case intMyNum
Case value = 1, 7, 15
intMyNum += 100
Case value = 2, 9, 21
intMyNum += 150
Case value = 3, 6, 13
intMyNum += 200
Case else
txtOutput.Text = “Cannot find it”
End Case
```
c. ``` Select Case intMyNum
Case 1, 7, 15
intMyNum += 100
Case 2, 9, 21
intMyNum += 150
Case 3, 6, 13
intMyNum += 200
Case else
txtOutput.Text = “Cannot find it”
End Case
```
d. ``` Select Case intMyNum
Case value = 1 Or value = 7 or value = 15
intMyNum += 100
Case value = 2 Or value = 9 or value = 21
intMyNum += 150
Case value = 3 or value = 6 Or value = 13
intMyNum += 200
Case else
txtOutput.Text = “Cannot find it”
End Case
```
c. ``` Select Case intMyNum
Case 1, 7, 15
intMyNum += 100
Case 2, 9, 21
intMyNum += 150
Case 3, 6, 13
intMyNum += 200
Case else
txtOutput.Text = “Cannot find it”
End Case
```
You might also like to view...
Describe the responsibilities of the procurement specialist.
What will be an ideal response?
_________ can be used to automate common startup tasks such as opening forms or running queries
A) Automatic macros B) Startup macros C) If actions D) Breakpoints
The push and pop methods are used to add new items to the end of an array.
Answer the following statement true (T) or false (F)
?The Cascading Style Sheet 3 (CSS3) _____ specifies the transparency of an element.
A. ?density property B. ?opacity property C. ?precision property D. ?clarity property