Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# CONSOLE APP: Congratulations! You are the proud owner of a new coffee shop. You have decided to put your excellent MIS skills to the

C# CONSOLE APP: Congratulations! You are the proud owner of a new coffee shop. You have decided to put your excellent MIS skills to the test and automate your ordering process at your store. Create a console application that allows a user to specify their order according to the following list.

Menu Item

Price

Espresso

$2.15

Cappuccino

$4.20

Latte

$5.00

Americano

$3.55

Drip

$1.25

Extra

Price Increase

Shot of Vanilla

+ $0.75 each shot

Shot of Espresso

+ $0.80 each shot

The console application should wait until the user comes to the computer and types any variation of "hello". Once the user inputs hello, prompt them with a courtesy greeting and display the menu above (with the prices). For simplicity, assume the user will only order one Coffee beverage at a time. Once they have chosen their drink, display the additional menu of extra shots and ask if they would like to add a type of shot. If they say Yes or Y, ask them which type (Vanilla or Espresso) and the quantity of shots. Once you have a line item ready, add it to a collection (if you want good practice you can come up with your own class and store that) with the total. Prompt the user if they want any other drink, and if so repeat the process. Once they say that they are finished, output each line item (either price or the order based upon how far you want to go) and then the total for the order, make sure to include a sales tax of 7.5% on the total order.

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_2

Step: 3

blur-text-image_3

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

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions

Question

LO5 Illustrate the steps in developing a base pay system.

Answered: 1 week ago

Question

LO3 Outline strategic compensation decisions.

Answered: 1 week ago