You are on page 1of 7

PYTHON MINI PROJECT –

CANTEEN MANAGEMENT

NAME : GOWTHAM.H
ROLL NO : UCB20114
DEPT : COMPUTER SCIENCE AND
BUSINESS SYSTEMS
SECTION :A
COLLEGE : RMD ENGINEERING
COLLEGE
TEAM MEMBERS

 ANUMALA VENKATA SAI SANTHOSH SREEKAR


 GOGINENI LOKESH
 BALAJI
 AADHITHAN
 AJAY
 DHINESH
ALGORITHM FOR MY PROGRAM:

 STEP1 : Start.
 STEP 2 : read the values of d.
 STEP 3 : if d=1 then print Sunday special....
 STEP 4 : elif d=2 then print Monday special....
 STEP 5 : elif d=3 then print Tuesday special.....
 STEP 6 : elif d=4 then print Wednesday special....
 STEP 7 : elif d=5 then print Thursday special....
 STEP 8 : elif d=6 then print Friday special....
 STEP 9 : elif d=7 then print Saturday special....
 STEP 10 : else print a week has 7 days.
 STEP 11 : Stop.
OPERATORS USED AND ITS USES FOR
MY PROGRAM

 Single line comment (#) - used to explain more efficiently.


 If, elif and else – used to choose the statement to be printed based
on the given input.
 \n – is used to start from a new line.
PYTHON PROGRAM FOR MY PROJECT:

# python mini project unit 2
# canteen management
#today special
d=int(input("enter the numberth of the day in a week:"))
if(d==1):
print("Sunday special""\n""breakfast:idli,vada,sambar""\n""lunch:mini meals""\n""dinner:parotta,kuruma")
elif(d==2):
print("Monday special""\n""breakfast:pongal,sambar""\n""lunch:veg.biriyani""\n""dinner:chapatti,dhal")
elif(d==3):
print("Tuesday special""\n""breakfast:poori,vadacurry""\n""lunch:chicken biriyani""\n""dinner:idli,sambar")
elif(d==4):
print("Wednesday special""\n""breakfast:upma""\n""lunch:mushroom biriyani""\n""dinner:tomato rice")
elif(d==5):
print("Thursday special""\n""breakfast:mini tiffin""\n""lunch:mutton biriyani""\n""dinner:curdrice")
elif(d==6):
print("Friday special""\n""breakfast:chapatti,kuruma""\n""lunch:mini meals""\n""dinner:upma")
elif(d==7):
print("Saturday special""\n""breakfast:poori,chenna""\n""lunch:sambar rice,potato gravy""\n""dinner:chapatti,dhal")
else:
print("a week has only 7 days")
OUTPUT FOR THE PROGRAM:

 enter the numberth of the day in a week:2


 Monday special
 breakfast:pongal,sambar
 lunch:veg.biriyani
 dinner:chapatti,dhal
THANK YOU

You might also like