Advertisement
Guest User

fsd bitch

a guest
Oct 27th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. #Team: Simpson, Lubnaa, Bhavesh
  2. ## Show menu ##
  3. print (50 * '-')
  4. print (" MAIN - MENU")
  5. print (50 * '-')
  6. print ("O - ORDER")
  7. print ("R - RECEIPT")
  8. print ("P - PAYMENT")
  9. print ("E - Exit")
  10. print (30 * '-')
  11.  
  12. # ---- PUBLIC DECLERATIONS START ---- #
  13.  
  14. choice = input('Enter your choice [O,R,P,E] : ')
  15. rate_increment = 0
  16. breakfast_total_rate = 0
  17. order_choice = input('Enter Your Choice [F,S,M] : ')
  18. food_menu_choice = input('Enter Your Choice [B,L] : ')
  19. breakfast_choice = input('Select the breakfast choice [1,2,3,4,5] : ')
  20.  
  21. # ---- PUBLIC DECLERATIONS END ---- #
  22.  
  23. # ---- MENU AND MODULE CODES ---- #
  24. if choice == 'O':
  25. print ("Starting ORDER MODULE...")
  26. print (50 * '-')
  27. print (" ORDER MENU")
  28. print (50 * '-')
  29. print ("F - Food")
  30. print ("S - Services")
  31. print ("M - Return to Main Menu")
  32.  
  33.  
  34.  
  35. if order_choice == 'F':
  36. print(30 * '-')
  37. print("Food Services")
  38. print(30 * '-')
  39. print("B : Breakfast")
  40. print("L : Lunch")
  41.  
  42.  
  43.  
  44. if food_menu_choice == 'B':
  45. print(50 * '-')
  46. print(" Breakfast Menu")
  47. print(50 * '-')
  48. print("1. Nasi Lemak")
  49. print("2. Fried Noodles")
  50. print("3. Roti Chanai")
  51. print("4. Pasta")
  52. print("5. Hot Drink")
  53.  
  54.  
  55. if breakfast_choice == 1:
  56. rate_increment += 1
  57. print("Nasi Lemak selected...")
  58. print("You can add more to kart")
  59. elif breakfast_choice == 2:
  60. rate_increment += 1
  61. print("Fried Noodles Selected")
  62. print("You can add more to kart")
  63. elif breakfast_choice == 3:
  64. rate_increment += 1
  65. print("Roti Chanai Selected")
  66. print("You can add more to kart")
  67. elif breakfast_choice == 4:
  68. rate_increment += 1
  69. print("Pasta Selected")
  70. print("You can add more to kart")
  71. elif breakfast_choice == 5:
  72. print("Hot Drink Selected")
  73. print("You can add more to kart")
  74. elif breakfast_choice == ""
  75. print("Invalid Input!")
  76.  
  77. if choice == 'R':
  78. print("Starting RECIEPT MODULE...")
  79. print(50 * '-')
  80. print(" RECIEPT MENU")
  81. print(50 * '-')
  82. print("")
  83.  
  84. if choice == "P":
  85. print("Starting PAYMENT MODULE...")
  86. print(50 * '-')
  87. print(" PAYMENT MENU")
  88. print(50 * '-')
  89. print("")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement