Skip to content

Commit

Permalink
Updated assumptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kridtity authored Oct 6, 2022
1 parent 47d9285 commit 7601d41
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,7 @@ def wait_to_close():
"| Help Manual |\n"
"----------------------------------\n")

print("Assumptions:\n"
"1. The BBQ Feast cost for four items (one full set) is $54.95. Each individual dish costs $15.00.\n"
"Any combination of BBQ Feast sishes may be made, with each set of four being discounted and each other dish costing $15.00.\n\n\n\n"
"Basic Use:\n"
print("Basic Use:\n"
"From the main menu, enter:\n"
"I -> Input customer order\n"
" This option receives continuous inputs of one item at a time for a single customer order\n"
Expand All @@ -224,20 +221,39 @@ def wait_to_close():
" quesadillas-gf\n"
" soft drink can - pepsi max\n"
" \n"
" IMPORTANT: INVALID SPECIAL REQUESTS WILL BE IGNORED!\n\n\n"
" IMPORTANT: INVALID SPECIAL REQUESTS WILL BE IGNORED!\n\n"
"P -> Print last customer order into the Shell/command line\n"
" This option prints the last stored order made in the program.\n\n\n"
" This option prints the last stored order made in the program.\n\n"
"M -> Print menu into the Shell/command line\n"
" This option prints the entire menu and corresponding prices for Kompsky Cafe into the Shell.\n\n\n"
" This option prints the entire menu and corresponding prices for Kompsky Cafe into the Shell.\n\n"
"S -> Print day summary\n"
" This option prints the total quantity of each menu item sold for each item and the total revenue\n"
" received by the cafe for the day (i.e. since the last reset).\n\n\n"
" received by the cafe for the day (i.e. since the last reset).\n\n"
"R -> Reset day summary\n"
" This option resets all quantities sold and revenue amounts to 0. Deletes the last customer order stored.\n\n\n"
" This option resets all quantities sold and revenue amounts to 0. Deletes the last customer order stored.\n\n"
"H -> Help manual\n"
" This option displays prints the help manual to the SHell/command line (i.e. this page).\n\n\n"
" This option displays prints the help manual to the SHell/command line (i.e. this page).\n\n"
"E -> Exit the program\n"
" This option quits the program.")
" This option quits the program.\n\n"
"Assumptions:\n"
"1. Some assumptions have been made about the program’s requirements during the development stage, as well as methods\n"
" for handling invalid special requests for items on the menu. It is also assumed that since the business is a café,\n"
" the ordering options are lenient an thus allow for table d'hôte menus to be ordered similarly to à la carte dishes\n"
" and for the grilled chicken side to be ordered independently without the need of also ordering the rocket salad.\n"
"2. For the purpose of the program, orders with the word ‘and’ as part of a menu item name are to be written with an\n"
" ampersand (‘&’) when input into the system (e.g. the tomato and onion salad menu item will need to be input\n"
" as tomato & onion salad.\n"
"3. A full Barbeque Feast Set (a set of 4 dishes headed under Barbeque Feast) costs $54.95. It is assumed that it is\n"
" possible for customers to order dishes from the Barbeque Feast menu without having them part of a set at a slightly\n"
" higher price for each, and for each set made a small discount would apply. For example, a single dish as part of a\n"
" set would cost $13.74, but individually the price is assumed to be $15 without the discount for being part of a set.\n"
"4. When an invalid special request is input into the system, it is programmed to remove the invalid request without\n"
" further processing. For example, a request for a gluten free ravioli and grilled chicken will be changed to only\n"
" ravioli and a soft drink can request for Sprite will be changed to just soft drink can. It is assumed Café staff\n"
" will be able to manually solve these invalid requests without the system needing to process it."
"5. For more efficient programming, the grilled chicken side to the rocket salad was added to the list of À La Carte\n"
" items. Thus, it also assumed that a customer can ordert the grilled chicken side without necessarily ordering\n"
" the rocket salad.")

#Prompt user to restart program or quit
wait_to_close()
Expand Down

0 comments on commit 7601d41

Please sign in to comment.