Question: Write a C++ code to desing a program for XYZ HOTEL management. (Use Composition method to solve the problem) ConferenceRoom room No:int roomName: string capacity.int

 Write a C++ code to desing a program for XYZ HOTEL

Write a C++ code to desing a program for XYZ HOTEL management. (Use Composition method to solve the problem) ConferenceRoom room No:int roomName: string capacity.int Customer custID:int namestring gender string age:int Meeting meetingDate:string Customers [5] ConferenceRoom ConferenceRoomlint string.int) Customer() printConRoom():void Customer(int string string, int) printCust):void Meeting(.....) printMeetingl):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 each meeting. Therefore, for each meeting we need to know when and where the meeting will be held and details of the customer(s) A. Create all necessary classes using composition method. Feel free to add any necessary data member/method. B. Write a main to create a(n) 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 1002 Ayse Can Press any key to continue... Gender Female Age 22 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 1002 Ayse Can 1003 Ahmet Mehmet ... Press any key to continue... Gender Female Male Age 22 44

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!