Solved

Write a Multiple-Alternative Selection Structure That Displays the Name of an Instructor

Question 12

Essay

Write a multiple-alternative selection structure that displays the name of an instructor based on the class section entered by the user.The class section is stored (as uppercase)in the strSection variable.Display "Edwards" when the class section is A.Display "Hughes" when the class section is B.Display "Meadows" when the class section is C.For all other sections,display "To Be Announced".Display the message in the lblMessage control.Use the If/ElseIf/Else form of the If...Then...Else statement.

Correct Answer:

verifed

Verified

If strSection = "A" Then
lblMessage.Text...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions