Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This work is for a simple menu system for a restaurant. It will give you practice working with loops in C# The only new code

image text in transcribed

This work is for a simple menu system for a restaurant. It will give you practice working with loops in C\# The only new code in this request is working with a while loop to get additional payment until the amoul owed is less than the amount paid. Task using C\# Using recorded videos, write a program that does the following: 1. Create variables to store: 1. Appetizer Name 2. Appetizer Price 3. Drink Name 4. Drink Price 5. Entreee Name 6. Entree Price 7. Dessert Name 8. Dessert Price 2. Then, create variables to store the subtotal, tax (10\% tax rate for easy math), total, and p 3. Get information for each of the food variables above 4. Once finished, calculate the subtotal 5. Calculate the tax 6. Calculate the total 7. Display all information onto the screen 8. Ask for a tip 9. Display the updated total 10. Ask for payment 11. If the payment is less than the amount of money owed, then use a while loop to get more mone from the user. Continue looping until the amount paid is >= the updated total 12. Output the change due 13. Enjoy the rest of your day Task Notes: - Check your math to make sure your program is working correctly - Use the Console Clear(); to clear your screen (if desired) - Use the Console Writeline(XariableNameToString("c2"); to force the output of your double variables to be currency

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

Power Bi And Azure Integrating Cloud Analytics For Scalable Solutions

Authors: Kiet Huynh

1st Edition

B0CMHKB85L, 979-8868959943

More Books

Students also viewed these Databases questions

Question

What is the most likely product of the following reaction

Answered: 1 week ago

Question

4. Devise an interview strategy from the interviewers point of view

Answered: 1 week ago