Lesson 16Pulling It All Together: Building a Burger Shop
In this lesson, you'll build an application to pull together many of the concepts you've learned up to this point. This lesson focuses on building an application that accepts a customer's order at a burger shop.
REQUIREMENTS FOR OUR APPLICATION
Our burger shop application allows customers to place custom orders for hamburgers and other items. In the ordering process, you will want the customer to be able to specify what kind of food or drink they want; then you'll need to calculate and display the cost of the order and display the completed order to the user. More specifically, the completed application must be able to perform the following steps:
- Ask the customer if they want a burger, a side, a drink, or a combo that must include a burger, a side, and a drink.
- Prompt them for details about their selection, such as condiments for a burger, what kind and size of drink, and so on.
- Create the item based on their selections.
- Add the item to the order.
- Repeat these steps until the customer doesn't want to order anything else.
- Display the order details, including the ...
Get Job Ready Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.