Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Tasty Bites is a restaurant that sells the following: 1 . Grilled Chicken Sandwich - $ 8 . 9 9 2 . Margherita Pizza -

Tasty Bites is a restaurant that sells the following:
1. Grilled Chicken Sandwich - $8.99
2. Margherita Pizza - $10.99
3. Fresh Orange Juice - $2.49
Ask the user to select an item by entering the corresponding number. If the user the user selects items 1 or 2, they will be presented with the choice of adding extra items. The user can only choose one extra item and will do so by entering the corresponding item number. These are the options:
0. no additions - $0.00
1. extra cheese - $1.00
2. bacon - $1.50
3. avocado - $1.50
4. jalapenos - $0.50
Write a program allowing the user to select an item based on the information above and calculate and output the bill. NB: use constant variables to store the price of the items.

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

Define Administration?

Answered: 1 week ago