I need a mentor to help me to write a hotel management program in c++ for exercise. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I need a mentor to help me to write a hotel management program in c++ for exercise.

Hello everyone! I have a exercise that is a hotel management program , I am confused about lots of things and I need someone to help me to explain things and help me to write code.

5th Aug 2023, 7:14 AM
Saba
Saba - avatar
10 Answers
+ 8
Hello Saba , here we are glad to help you...but for that you have to show your code which makes you confuse... Can you share your attempted code here??
5th Aug 2023, 7:51 AM
Riya
Riya - avatar
+ 5
Saba Sololearn is a self learning platform this is not a platform to give you a readymade code and if you have doubt related to programming then share your attempt firstly for further we will help you, and see this you get an idea how to make this program, you can add more features according to your understanding https://www.javatpoint.com/hotel-management-in-cpp
5th Aug 2023, 7:51 AM
Sakshi
Sakshi - avatar
+ 4
Saba , Ok what is your confusion...?? With your idea try to write the coding and if you have doubt post your attempted code and you will get clarified...
5th Aug 2023, 8:34 AM
Riya
Riya - avatar
+ 3
olusanya Abdulmalik (‫عبدالملك‬‎) Before to provide you answer next time create question then you will get answer don't ask in other member's question. Don't compare with others all are unique as you have completed all lessons and practice code's keep trying new things that's it 👍.
6th Aug 2023, 5:07 PM
R💠🇮🇳
R💠🇮🇳 - avatar
+ 2
Riya Actually i don't write anything special by now. I only know some things and needed features. I want to someone help me to start writing the code. it's my first oop project.
5th Aug 2023, 8:09 AM
Saba
Saba - avatar
+ 2
Sure, I can provide you with a basic outline of a hotel management program in C++. Keep in mind that this is just a starting point, and you can add more functionalities as needed.Here's a simple code example for managing hotel rooms: Refer this code. https://code.sololearn.com/ci5e2bvEaUd8/?ref=app This code defines two classes, Room and Hotel, to represent individual hotel rooms and the hotel itself. The Room class contains information about the room's number, occupancy status, and guest name. The Hotel class contains a vector of Room objects.In the main function, a hotel with 10 rooms is created. Rooms are booked and checked out to demonstrate the functionality. You can modify and expand this code based on your specific exercise requirements.Remember that this is just a basic example, and you can customize it further to include more features like guest information, booking dates, room rates, and so on. Good luck with your exercise! Hope this helps...
5th Aug 2023, 4:45 PM
‎ ຸ
+ 1
Riya Can I connect you?! With email or telegram? Or even WhatsApp
5th Aug 2023, 8:49 AM
Saba
Saba - avatar
+ 1
‎ ຸ Thanks
5th Aug 2023, 4:53 PM
Saba
Saba - avatar
0
Mirielle So can you help me?
5th Aug 2023, 10:10 AM
Saba
Saba - avatar
0
olusanya Abdulmalik (‫عبدالملك‬‎) Hello, actually I don't know that much python but I know people wrote lots of amazing programs with python. So don't worry, practice and don't give up! ✌🏼
7th Aug 2023, 9:13 AM
Saba
Saba - avatar