Question 1. Your task is to create a full program for a Restaurant of your choice....

50.1K

Verified Solution

Question

Programming

Question 1. Your task is to create a full program for aRestaurant of your choice. You will have the output appear at firstsaying Welcome to ______ Restaurant where the _____ will bewhatever you name your restaurant

Today’s choices are 1.__________ 2._________ 3._______4.________

NOTE each _____ will say an item and its price for example pizza2.99 Please choose 1 of the choices. In each case, as the userpicks a choice It will calculate the total cost of the item basedon a tax of 8.5%(multiply cost by 0.085) and add to original costIt will output what the user chose and the total cost for the billin correct money format IF the user enters in something other than1 through 4 it will say. INVALID CHOICE and the cost will be $0.00It will then say. Thank You and have a nice day!

Answer & Explanation Solved by verified expert
4.4 Ratings (806 Votes)
Hey because no language specified I am using JAVA langauge tocode itfilename Mainjavaimport javautilScanner We continuously loop through the menu and ask user to enter his choice If user enters the valid choice that porder price is added to totalPrice and it is declared as static And every time customer    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students