B – Bookroom(s) – prompt the user for the number of guests needing aroom. Find t
ID: 3617808 • Letter: B
Question
B – Bookroom(s) – prompt the user for the number of guests needing aroom. Find the first (lowest number) empty room and store thenumber of guests for that room. If the number of guests isgreater than the room maximum, book as many rooms asnecessary. Display a confirmation message with the roomnumber(s), or an error message if there are not enough emptyrooms.
C –Checkout – Prompt the user for a room number. If valid,set the number of room guests back to zero and display aconfirmation; otherwise display an error message.
S –Summary report – Display the room number and number of guestsfor ONLY the rooms that are currently booked.
Q-Quit.