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

What will the code in Figure 4-54 assign to the lblStatus control when the strLevel variable contains the string “5”?
a. Bronze
b. Gold
c. Platinum
d. Silver

If strLevel =

If strLevel = "1" OrElse strLevel "2" Then %3D 1b1Status.Text = "Bronze" ElseIf strlevel = "3" OrElse strLevel = "4" Then 1b1status.Text "Silver" ElseIf strlevel = "5" Then 1b1status.Text = "Gold" Else 1b1status.Text = "Platinum" End If

Step by Step Solution

3.30 Rating (165 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 Microsoft Visual Basic Questions!