Question: Write the C++ code for a multiple-alternative selection structure that displays one of four different messages, depending on the number of seminar participants stored in

Write the C++ code for a multiple-alternative selection structure that displays one of four different messages, depending on the number of seminar participants stored in an int variable named participants. Display 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”.

Step by Step Solution

3.36 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

if participants 10 cout Cancel the seminar en... View full answer

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 Microsoft Visual C# Introduction Questions!