Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Restaurant Menu Program 1. Write Fast Food Restaurant Order Program in Python Input - Ask for the users name - Ask for the users choices

Restaurant Menu Program

1. Write Fast Food Restaurant Order Program in Python

Input

- Ask for the users name

- Ask for the users choices for the main food item, side item, and a drink

- Method of payment - cash or credit. If Cash, ask for the payment amount

- Accept one-letter input for Cash and Credit, either lower or upper case, like c, C, r, or R.

Process

- Calculate subtotal, tax, and total.

- If paying with Cash, find the amount due

Output

- Users name

- List of items ordered

- subtotal, tax, total, and either amount charged or amount due

- Since this is currency, format your output numbers to 2 decimal points

- Prices You can set whatever price you like, but make it easy ($1, $2m, $5, etc., not like $3.78) so its easier to validate your calculation.

- Selections (Main food item - Give three choices to pick from, Side item - Give two choices to pick from, Drink - Give two choices to pick from)

As always, use the information section template

As always, use the best practices for programming and make it user friendly

What to submit

- Submit the code in a text file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions