Question: Design a program for a barbecue restaurant that creates a table receipt/ticket. The user will select a table/seat from a menu. The user will enter
Design a program for a barbecue restaurant that creates a table receipt/ticket. The user will select a table/seat from a menu. The user will enter the number of main dishes/items that were ordered. Then ask for the cost of each dish. The ticketing program will then prompt the user to enter the number of beverages ordered for the table/seat ($3.00 per beverage). There is a 10% discount on the beverages when more than 3 beverages are order (discount only applies to the beverages. Tax is 8%.
The following are the tables/seats in the menu:
1) Counter seat one
2) Counter seat two
3) Counter seat three
4) Counter seat four
5) Table one
6) Table two
7) Table three
8) Table four
9) Table five
After the program calculates the ticket, it should prompt the user if they would like to continue and create another dinning ticket. The program should display the following data in the receipt:
Name of the Diner
Table/seat
How many dishes were ordered
The cost of each dish
The number of beverages ordered (display quantity and individual cost) total cost
If there were more than three beverages order, then display the beverage discount
The subtotal
The tax amount (8%)
Total ticket charge
in Python please!!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
