Question: python Problem 1 (Taking Orders) Write a program called a2p1.py that creates a linear text-based purchasing system for Dino's International Doughnut Shoppe. For this first

python

python Problem 1 (Taking Orders) Write a program called a2p1.py that creates

a linear text-based purchasing system for Dino's International Doughnut Shoppe. For this

first part, you'll build a menu system that allows customers to purchase

quantities of a single type of doughnut. The program should start by

asking the customer for their name. Next it should display a menu

that asks the user to select one of the following 4 kinds

Problem 1 (Taking Orders) Write a program called a2p1.py that creates a linear text-based purchasing system for Dino's International Doughnut Shoppe. For this first part, you'll build a menu system that allows customers to purchase quantities of a single type of doughnut. The program should start by asking the customer for their name. Next it should display a menu that asks the user to select one of the following 4 kinds of doughnuts 1. Chocolate-dipped Maple Puff ($3.50 each) 2. Strawberry Twizzler ($2.25 each) 3. Vanilla Chai Strudel ($4.05 each) 4. Honey-drizzled Lemon Dutchie ($1.99) The user should make their selection by entering the corresponding number. It is possible the user will enter any type of data, including text, floating point numbers, negative numbers, etc.. Invalid selections should be handled with a suitable error message and the menu should be repeated. Once the customer has selected a variety, the program should ask how many of that variety the customer would like. Following this, the program should provide the user with their receipt (report the variety, quantity, and total cost of the user's order). Dino has made a special request that when telling the customer their order's cost that the program be personable and use the customer's name Problem 1 (Taking Orders) Write a program called a2p1.py that creates a linear text-based purchasing system for Dino's International Doughnut Shoppe. For this first part, you'll build a menu system that allows customers to purchase quantities of a single type of doughnut. The program should start by asking the customer for their name. Next it should display a menu that asks the user to select one of the following 4 kinds of doughnuts 1. Chocolate-dipped Maple Puff ($3.50 each) 2. Strawberry Twizzler ($2.25 each) 3. Vanilla Chai Strudel ($4.05 each) 4. Honey-drizzled Lemon Dutchie ($1.99) The user should make their selection by entering the corresponding number. It is possible the user will enter any type of data, including text, floating point numbers, negative numbers, etc.. Invalid selections should be handled with a suitable error message and the menu should be repeated. Once the customer has selected a variety, the program should ask how many of that variety the customer would like. Following this, the program should provide the user with their receipt (report the variety, quantity, and total cost of the user's order). Dino has made a special request that when telling the customer their order's cost that the program be personable and use the customer's name

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!