Question: Write a C++ code to desing a program for XYZ HOTEL management. (Use Composition method to solve the problem) Conference Room Customer Meeting roomNoint custID:int
Write a C++ code to desing a program for XYZ HOTEL management. (Use Composition method to solve the problem) Conference Room Customer Meeting roomNoint custID:int meetingDate string roomName: string name:string Customers 15) capacity in gender:string Conference Room age-int Conference Room/int.stringit Customer Meeting....) ) Customerlin.string string.int) printMeeting void printConRoom(void printust void Assume there are rooms in the XYZ hotel. Each conference room has a unique room number which will be generated automatically whenever a new object is created. Meetings are arranged in the hotel and conference rooms are occupied for this purpose. More than one customer may attend to cach meeting. Therefore, for each meeting we need to know when and where the meeting will be held and details of the customers). A. Create all necessary classes using composition method. Feel free to add any necessary data member method. B. Write a main to create an) object(s) that will display the details of a meeting as explained in the above scenario. (See sample output) Sample Output for single customer Meeting Date: 20-Jun-2019 Conference Room Details: Room No:1002 Name: Delta Capacity: 130 Attendees: Customer No Name Gender Age Ayse Can Female 22 Press any key to continue... 1002 Sample Output for multiple customers (array object) Enter customer no:1002 Enter customer name: Ayse Can Enter gender (Male - Female):Female Enter age:22 Enter customer no:1003 Enter customer name: Ahmet Mehmet Enter gender (Male - Female): Male Enter age:44 Meeting Date:20-Jun-2019 Conference Room Details: Room No: 1002 Name: Delta Capacity:130 Attendees: Customer No Name Gender Age 1002 Ayse Can Female 22 1003 Ahmet Mehmet Male 44 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
