The most complex program of this tutorial is the C++ Hotel Management System . In this program, Based on Hotel Management, the following 13 tasks are given. Which are as follows.
CUSTOMER ENTRY FORM
First of all, the program will be used with this option. It will ask the user to store customer details like- name, mobile no, address, ID proof, room type (AC- ₹ 200 / NONE AC- ₹ 100) and room no. It will store two other records (check-in date and time) automatically (by fetch system date / time).
DISPLAY CUSTOMER RECORD
This option will display the current customer room no, check in date-time, customer-name, contact, address and room type in the hotel.
DISPLAY FROM DATABASE
This option will also display the same detail (from the database file) but all those who are staying in this hotel as well as those who have been checked out from the hotel. Detail show of check in customer in green color while check out customer in red color.
DISPLAY FOOD DETAIL FROM DATABASE
This option will display the detail of the food ordered by the check-out customers. By searching Room no and customer name.
CUSTOMER FOOD DETAIL
This option will display the food detail ordered by check-in customers. By searching Room no and customer name.
This option will display the details of the check in customer (staying customer) of the hotel and will also display the total days in hotel.
To search the record, any three details like Room no (where the customer is residing), customer mobile no and customer name have to be entered. Room no (unique for Hotel) and customer mobile no (which is unique in real world) would be a better way to search records.
MODIFY CUSTOMER RECORD:-
With this option, only the current customer record will be MODIFY i.e. check in customer detail only. Except for hotel check-in date-time, all other details can be modified.
This means that the customer can be changed from personal detail to room no and room facility (AC / NONE AC).
This option will be used for customer check-out, which will print the slip from customer name, and print the detail like- the bill detail (food, room) of the customer, and how long he stayed in the hotel.
DISPLAY/ADD MORE FOOD
This option is for hotel in which, the hotel adds more food to its food list. While adding food in this wizard, the list of available-food in the hotel will also show in the top slide.
DELETE FOOD RECORD
To delete food records in the hotel
ORDER – FOOD
In this option, food order will be made for the customer by entering the customer’s room no. Along with this wizard, a food list will also be shown, so that only the available-food in the hotel can be ordered.
This option allows the customer to pay the bill (food bill + room bill) that the customer has spent in the hotel so far and will also show the detail of the previous transaction (if there is any previous transaction).
This option allows the customer to pay the bill at will, out of the total bill, while the remaining bill will be paid at the time of check-out.
This last option of the program will reset the program (by removing all file).
Enter number 0 to be back from any option.
Although a little introduction of the program has been given here, but to understand the program, copy and execute in turbo c ++.
The size of the program size is slightly larger, so here only the output of the program is given –
Download The Complete code C++ Hotel Management System from here and try all option yourself,
Related Project in C++ are: