Question: What will the code in Figure 5-29 assign to the lblStatus control when the strLevel variable contains the string 2? a. Bronze b. Gold c.
What will the code in Figure 5-29 assign to the lblStatus control when the strLevel variable contains the string “2”?

a. Bronze
b. Gold
c. Platinum
d. Silver
If strLevel = "1" OrElse strLevel = "2" Then 1b1status. Text "Bronze" ElseIf strlevel = "3" OrElse strLevel = "4" Then 1b1status.Text = "Silver" ElseIf strlevel = "5" Then 1b1Status.Text = "Gold" %3D Else "Platinum" 1b1Status. Text = End If
Step by Step Solution
3.49 Rating (169 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
