This Python project implements a simple hotel management system, providing functionalities for room booking, calculating room rent, ordering food from the restaurant, calculating restaurant bills, and displaying the total cost.
This hotel management system consists of the following classes:
-
Customer: Represents a customer with attributes like name, address, and room number. It allows inputting customer data.
-
Room: Manages room-related functionalities such as different room types, their rates, inputting room type and duration of stay, and calculating room rent.
-
Restaurant: Handles restaurant operations including displaying the menu, taking food orders, and calculating food bills.
-
TotalBill: Combines functionalities from Customer, Room, and Restaurant to calculate the total bill including room rent, food bill, and extra charges.
To use the hotel management system, run the main()
function in the script. It presents a menu-driven interface where users can choose various options such as booking a room, calculating room rent, ordering food, calculating restaurant bills, displaying total cost, showing booked rooms, and exiting the program.
-
Customer: Handles customer details and room booking.
-
Room: Manages room types, rates, and booking details.
-
Restaurant: Manages restaurant operations such as menu display, order taking, and bill calculation.
-
TotalBill: Calculates the total bill incorporating room rent, food bill, and extra charges.
- Clone or download the repository to your local machine.
- Ensure you have Python installed.
- Run the
Hotel_Management_System.py
script using a Python interpreter. - Follow the menu prompts to navigate through the functionalities of the system.
Contributions to this project are welcome. If you'd like to contribute, please follow the guidelines outlined in the CONTRIBUTING.md file.
This project is licensed under the MIT License. See the LICENSE file for more details.