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”?

If strLevel =

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

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 with Microsoft Visual Basic 2015 Questions!