View the step-by-step solution to:

Question

In this scenario the user will type what they want. For instance, if the customer

wants a big breakfast, the user will type: big breakfast <enter>. The program will then ask for the amount. The program will then continue to ask for additional menu items by re-displaying the choices. When the customer is done ordering, the user enters q, the program then displays the pre-tax total, the tax, and the total with tax. Other scenarios are possible, in which the customer decides to customize the breakfast order. by redisplaying choices untill th user inputs Q there could be a instance where the user would want a custom order. by doing this there will have to be a loop function implemented for the program to both redisplay the choices and calculate the custom order. I just want to know how to get started on it. an example will look like this assign example.PNG

assign example.PNG

Top Answer

View the full answer
1.png

V
input
Enter item (q to terminate) : small breakfast, regular breakfast, big breakfast, egg bacon, sausage, hash brown, toast, coffee, tea
: big breakfast
Enter quantity : 1
Enter item (q to...

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question