Hotel Management System Project Report
Hotel Management System Project Report
0 1
1
MANDUADIH VARANASI 1
1 0
<PROJECT />
COMPUTER SCIENCE
0 1
0 1
0 0
SUBMITTED BY SUBMITTED TO
1
Aditiya Pandey ___________________ 0
External Examiner
ACKNOWLEDGEMENT
Last but not least, I wish to thank my parents for their encouragement and
support during the course of this work.
Yuvraj Chaturvedi
Class XII Science 'A'
GlenHill School
PREFACE
➤Record Display: A comprehensive view of the total bill generated for the
customer.
I have tried my best to keep the code simple, efficient, and user-friendly.
This project has given me a deep insight into modular programming, file
handling, and the logic building required for software development.
Yuvraj Chaturvedi
SYSTEM
SPECIFICATIONS
HARDWARE & SOFTWARE REQUIREMENTS
💻 REQUIRED HARDWARE
I. Processor Intel Core i3 / AMD Ryzen 3 or higher
💾 REQUIRED SOFTWARE
I. Operating System Windows 10 / Windows 11
def
__init__(self,rt='',s=0,p=0,r=0,t=0,a=1800,name='',address='',cindate='',coutdate='',rno=101):
[Link]=rt
self.r=r
self.t=t
self.p=p
self.s=s
self.a=a
[Link]=name
[Link]=address
[Link]=cindate
[Link]=coutdate
[Link]=rno
def inputdata(self):
[Link]=input("\nEnter your name:")
[Link]=input("\nEnter your address:")
[Link]=input("\nEnter your check in date:")
[Link]=input("\nEnter your checkout date:")
print("Your room no.:",[Link],"\n")
def roomrent(self):#sel1353
if(x==1):
self.s=6000*n
elif (x==2):
self.s=5000*n
elif (x==3):
self.s=4000*n
elif (x==4):
print ("you have opted room type D")
self.s=3000*n
else:
def restaurentbill(self):
print("*****RESTAURANT MENU*****")
print("[Link]----->Rs20","[Link]----->Rs10","[Link] combo--->Rs90","[Link]----
>Rs110","[Link]--->Rs150","[Link]")
while (1):
if (c==1):
d=int(input("Enter the quantity:"))
self.r=self.r+20*d
elif (c==2):
d=int(input("Enter the quantity:"))
self.r=self.r+10*d
elif (c==3):
d=int(input("Enter the quantity:"))
self.r=self.r+90*d
elif (c==4):
d=int(input("Enter the quantity:"))
self.r=self.r+110*d
elif (c==5):
d=int(input("Enter the quantity:"))
self.r=self.r+150*d
elif (c==6):
break;
else:
print("Invalid option")
def laundrybill(self):
print ("******LAUNDRY MENU*******")
print ("[Link]----->Rs3","[Link]----->Rs4","[Link]--->Rs5","[Link]----
>Rs6","[Link]--->Rs8","[Link]")
while (1):
#brought to you by [Link]
if (e==1):
f=int(input("Enter the quantity:"))
self.t=self.t+3*f
def display(self):
print ("******HOTEL BILL******")
print ("Customer details:")
print ("Customer name:",[Link])
print ("Customer address:",[Link])
print ("Check in date:",[Link])
print ("Check out date",[Link])
print ("Room no.",[Link]) ("Your Room
print rent is:",self.s) ("Your Food bill
print is:",self.r) ("Your laundary bill
print is:",self.t) ("Your Game bill
print is:",self.p)
[Link]=self.s+self.t+self.p+self.r
def main():
a=hotelfarecal()
while (1):
print("[Link] Customer Data")
print("[Link] rommrent")
print("[Link] gamebill")
print("[Link]")
if (b==2):
[Link]()
if (b==3):
[Link]()
if (b==4):
[Link]()
if (b==5):
[Link]()
elif (e==2):
f=int(input("Enter the quantity:"))
self.t=self.t+4*f
elif (e==3):
f=int(input("Enter the quantity:"))
self.t=self.t+5*f
elif (e==4):
f=int(input("Enter the quantity:"))
self.t=self.t+6*f
elif (e==5):
f=int(input("Enter the quantity:"))
self.t=self.t+8*f
elif (e==6):
break;
else:
def gamebill(self):
print ("******GAME MENU*******")
while (1):
if (g==1):
h=int(input("No. of hours:"))
self.p=self.p+60*h
elif (g==2):
h=int(input("No. of hours:"))
self.p=self.p+80*h
elif (g==3):
h=int(input("No. of hours:"))
self.p=self.p+70*h
elif (g==4):
h=int(input("No. of hours:"))
self.p=self.p+90*h
elif (g==5):
h=int(input("No. of hours:"))
self.p=self.p+50*h
elif (g==6):
break;
else:
[Link]()
if (b==7):
quit()
main()
>
<html
prin
t("H
ello
Worl
d")
OUTPUT
PROJECT EXECUTION RESULTS
class Hotel:
Coding Illustration
def main():
Topic: System
import sys
if (succes
s): return
true
PROCESS FLOW PROGRAM EXECUTION LOG
INI TIALIZATION
Started the program. Created an instance of hotelfarecal class.
System printed the "WELCOME TO HEWING HOTEL" message.
OPTION 3: RESTAURANT
Ordered Water (Rs 20) x 1 Quantity.
Food Cost Added: Rs 20.
OPTION 4: LAUNDRY
Selected Shorts (Rs 3) x 1 Quantity.
Laundry Cost Added: Rs 3.
OPTION 7: EXIT
Terminated the main loop. Program execution ended successfully.
Python 3.11.0 - hotel_management.py
BOOK REFERENCES
➤ Computer Science with Python — Textbook for Class XII (Sumita
Arora)
➤
NCERT Computer Science — Class XII Textbook
WEB RESOURCES
➤ Python Documentation: [Link]
➤ GeeksForGeeks: [Link]