Question: What will the following code assign to the lblStatus control when the strLevel variable contains the string 2 ? If strLevel =

What will the following code assign to the lblStatus control when the strLevel variable contains the string "2"?
If strLevel ="1" OrElse strLevel ="2" Then
lblStatus.Text = "Bronze"
ElseIf strLevel ="3" OrElse strLevel ="4" Then
lblStatus.Text = "Silver"
ElseIf strLevel ="5" Then
lblStatus.Text = "Gold"
Else
lblStatus.Text = "Platinum"
End If
a. Bronze
c. Platinum
b. Gold
d. Silver
What will the following code assign to the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!