Professional Documents
Culture Documents
_____________ ______________
INTERNAL EXAMINER PRINCIPAL
_____________ _____________
3
INDEX
CONTENT DATE SIGN
Certificate 28-02-22
Acknowledgement 28-02-22
Advantages of 28-02-22
project
Disadvantages of 28-02-22
project
Synopsis
Output 28-02-22
Bibliography 28-02-22
ADVANTAGES OF
PROJECT
1. Save time on admin tasks
The right hotel management software will vastly cut down
the time you spend on manual administrative tasks. The
software does the majority of the work and lets you divert
your time to more important tasks, such as serving your
guests.
Staff
1. If one staff mistypes the information than the guest might get angry
3. When night auditing is being done all other user's must be logged off
4. If there is a virus attack the stored information can be corrupt and the
wrong information may be given to the guest .
Hotel
1. All the staff needs to be trained on the software
3. High risk of virus attack as the systems are connected to the internet
most of the time
corrected them.
space: 2 to 4 GB.
space: 1 GB.
def registercust():
mycursor.execute('create table if not exists custdata(custname varchar(25),addr
varchar(50),indate date,outdate date)')
name=input("enter name:")
addr=input("enter address:")
indate=input("enter check in date:")
outdate=input("enter check out date:")
sql="insert into
custdata(custname,addr,indate,outdate)values('{}','{}','{}','{}')".format(name,addr,indate,ou
tdate)
mycursor.execute(sql)
mydb.commit()
def roomtypeview():
print("Do you want to see room type available : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from roomtype"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)
def roomrent():
print ("We have the following rooms for you:-")
print ("1. type A---->rs 1000 PN\-")
print ("2. type B---->rs 2000 PN\-")
print ("3. type C---->rs 3000 PN\-")
print ("4. type D---->rs 4000 PN\-")
x=int(input("Enter Your Choice Please->"))
n=int(input("For How Many Nights Did You Stay:"))
if(x==1):
print ("you have opted room type A")
s=1000*n
elif (x==2):
print ("you have opted room type B")
s=2000*n
elif (x==3):
print ("you have opted room type C")
s=3000*n
elif (x==4):
print ("you have opted room type D")
s=4000*n
else:
print ("please choose a room")
print ("your room rent is =",s,"\n")
def restaurentmenuview():
print("Do you want to see menu available : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from restaurent"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)
def orderitem():
print("Do you want to see menu available : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from restaurent"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)
print("do you want to purchase from above list:enter your choice:")
d=int(input("enter your choice:"))
if(d==1):
print("you have ordered tea")
a=int(input("enter quantity"))
s=10*a
print("your amount for tea is :",s,"\n")
elif (d==2):
print("you have ordered coffee")
a=int(input("enter quantity"))
s=10*a
print("your amount for coffee is :",s,"\n")
elif(d==3):
print("you have ordered colddrink")
a=int(input("enter quantity"))
s=20*a
print("your amount for colddrink is :",s,"\n")
elif(d==4):
print("you have ordered samosa")
a=int(input("enter quantity"))
s=10*a
print("your amount fopr samosa is :",s,"\n")
elif(d==5):
print("you have ordered sandwich")
a=int(input("enter quantity"))
s=50*a
print("your amount for sandwich is :",s,"\n")
elif(d==6):
print("you have ordered dhokla")
a=int(input("enter quantity"))
s=30*a
print("your amount for dhokla is :",s,"\n")
elif(d==7):
print("you have ordered noodles")
a=int(input("enter quantity"))
s=50*a
print("your amount for noodles is :",s,"\n")
elif(d==8):
print("you have ordered milk")
a=int(input("enter quantity"))
s=20*a
print("your amount for milk is :",s,"\n")
elif(d==9):
print("you have ordered PINGU Tea")
a=int(input("enter quantity"))
s=204*a
print("your amount for PINGU tea is :",s,"\n")
elif(d==10):
print("you have ordered pasta")
a=int(input("enter quantity"))
s=50*a
print("your amount for pasta is :",s,"\n")
else:
print("please enter your choice from the menu")
def laundarybill():
print("Do you want to see rate for laundary : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from laundary"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)
x=int(input("Enter your choice of cloth please ->"))
n=int(input('How many clothes you want to get washed'))
if (x==1):
print('You want to get Shirt washed ')
s=75*n
elif (x==2):
print('You want to get Trouser washed ')
s=100*n
elif (x==3):
print('You want to get Ladies suit washed ')
s=150*n
elif (x==4):
print('You want to get Saree washed ')
s=200*n
elif (x==5):
print('You want to get Other clothes washed ')
s=200*n
else:
print ('PLEASE CHOOSE A Piece of cloth')
print('your laundry charges are Rs. =',s,'\n')
def Menuset():
print("enter 1: To enter customer data")
print("enter 2 : To view roomtype")
print("enter 3 : for calculating room bill")
print("enter 4 : for viewing restaurent menu")
print("enter 5 : for restaurent bill")
print("enter 6 :for laundary bill")
print("enter 7 : for exit:")
print(“enter 8: if running the code for first time “)
try:
userinput=int(input("please select an above option:"))
except ValueError:
exit("\n hi thats not a number")
if(userinput==1):
registercust()
elif(userinput==2):
roomtypeview()
elif(userinput==3):
roomrent()
elif(userinput==4):
restaurentmenuview()
elif(userinput==5):
orderitem()
elif(userinput==6):
laundarybill()
elif(userinput==7):
print('Thanks for visiting')
quit()
elif(userinput==8):
Runcode()
Runcode1()
Runcode2()
else:
print("enter correct choice")
Menuset()
def runagain():
runagn=input("\n want to run again y/n:")
while(runagn.lower()=='y'):
Menuset()
if (runagn.lower()=='n'):
exit()
runagain()
SOURCE CODE
BIBLOGRAPHY
1.COMPUTER SCIENCE TEXTBOOK CLASS 12:
SUMITA ARORA
2.https://www.google.com
3.https://www.python.org.in
4.https://www.mysql.org
5.https://www.tutorialaicsip.com
6.https://www.mews.com/en/blog/advantages-of-
hotel-management-system