Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

just enter the python code for the menu and make sure it is not a solution from last year 1. Main menu: Create a main

image text in transcribedimage text in transcribedjust enter the python code for the menu and make sure it is not a solution from last year

1. Main menu: Create a main user menu to display the main options to the user. User have the option to choose between 1 and 3. The program will display an error message if user option is not within the valid selection (less than I and greater than 3]. Think about using a conditional structure to serve the user choice. Invalid option for eg 4) can be handed with default else block (please see sample 1/0 for error message). A main meruis as follows and detailed of each option is provided below 1. Order Coffee 2. Checkout 3. Quit a Order Coffee: User can order three different types of coffee: espresso, latte and cappuccino. Like main menu any invalid option will display an error message. A sample menu is as follows along with price: Calle Menu 1. Espresso - $10.99 2. Latte - $16.99 3. Cappuccino-$14.99 Checkout: Option 2 "Checkout' in main menu wil calculate the total cost along with the sales tax. To calculate the tax, you can multiply sales tax with total cost. For this program, you can assume VA sales tax 4.3% c. Quit: Quit will simply exit the program once user hits *3You can display a message for this option. (See below sample 10)

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

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

What is conservative approach ?

Answered: 1 week ago

Question

What are the basic financial decisions ?

Answered: 1 week ago

Question

What is meant by 'Wealth Maximization ' ?

Answered: 1 week ago

Question

LO2 Explain the nature of the psychological contract.

Answered: 1 week ago