Professional Documents
Culture Documents
CS 240
N.D.
Homework 4
In-N-Out
Lynsi Torres the owner of In-N-Out is looking for a new Inventory system to be used at
her In-N-Out restaurants. She incentivizes a plan that allows all contestants to build a
system and each one will be tested at a given location for one month(December 2017).
Unfortunately, she is always late and she has given you a deadline of only five days.
Luckily you have prepared well for these last minute scenarios.
Things to Note:
Menu - (All Menu Items are saved as LISTS)
(1) Burger Bun, Patty, Lettuce, Tomato, Onion
(2) Cheese Burger Cheese, Bun, Patty, Lettuce, Tomato, Onion
(3) Vegan lettuce wrap Burger (NO Bun, No Patty),2 order of Lettuce, Tomato, Onion
(4) Burger No Onion - (No Onion), Bun, Patty, Lettuce, Tomato,
(5) Cheese Burger No Onion (No Onion), Cheese, Bun, Patty, Lettuce, Tomato
(6) Burger No Tomato - (No Tomato), Bun, Patty, Lettuce, Onion
As resupply ships come in you must push all items in there appropriate locations. At the
end of the day you will reorder the food stacks and throw away food that has expired
OUTPUT:
Run your program for the duration of December 2017.