Question: Hi, need help with how to set this problem up. Thanks in advance! Problem 2: Point of Sale System The McDowell Restaurant chain has asked

Hi, need help with how to set this problem up. Thanks in advance!Hi, need help with how to set this problem up. Thanks in

Problem 2: Point of Sale System The McDowell Restaurant chain has asked you to service machines. Your program already prints the write a menu program for their new Fast-food following menu like this: McDowe11's Restaurant Make your selection from the menu below: 1. Regular Hamburger $1.se 2. Regular Cheeseburger $1.75 3. Fish Sandwich $2.se 4. Half-pounder with cheese $2.75 5. French Fries $e.99 6. Large Soft Drink $1.25 Select 1, 2, 3, 4, 5, or 6 > Your purchase, including 6.5% sales tax. program must now read the customer's selection and compute the total price of their Input The first line of input represents N, the number of items to be second line consists of the sequence of N numbers scoped between 1 to 6. Each number should indicate a selection from the above menu to be purchased. entered into the POs system. The Output The program should print the sum of the orders plus tax as "Please pay $", where dollars is the total amount of the purchase then conclude with "Thank you for eating at McDowell's Sample Input Sample Output 6 144531 Please pay $12.77 Thank you for eating at McDowell'sl

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!