Rewrite the code from Exercise 5 using the Select Case statement. Data From Exercise 5 Write the

Question:

Rewrite the code from Exercise 5 using the Select Case statement.


Data From Exercise 5

Write the Visual Basic code that displays the message “Use the Kanton room” when the number of seminar participants is at least 75. When the number is 40 through 74, display the message “Use the Harris room”. When the number is 10 through 39, display the message “Use the small conference room”. When the number is less than 10, display the message “Cancel the seminar”. The number of participants is stored in the intParticipants variable. Display the appropriate message in the lblMsg control. Code the multiple-alternative selection structure using the If...Then...Else statement.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: