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
if participants 10 cout Cancel the seminar en... View full answer
Get step-by-step solutions from verified subject matter experts
