![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 17.12.2019 20:31 paigejosie6473
Achinese restaurant has two types of dinner combos for customers to choose. a regular dinner combo includes main dish and soup. a deluxe dinner combo includes main dish, soup and appetizer. there are three main dish choices: sweet and sour pork ($7), sesame chicken ($8) or shrimp fried rice ($9). there are two soup choices: egg drop soup ($1.25) or wanton soup ($1.50). there are two appetizer choices: spring roll ($1.25) or chicken wing ($1.50). they need a program to place orders. you python project needs to follow these requirements:
(a) create a dinner_combo class for regular dinner combos. this class has three protected instance variables: main_dish, soup and total. define a choose_dish method to choose a main dish, a choose_soup method to choose a soup, and a displayorder method to display items ordered and total amount due.
(b) create a deluxe_dinner_combo class for deluxe dinner combos. this class is a derived class of the dinner_combo class. it has one additional protected instance variables: appetizer. define a choose_appetizer method to choose an appetizer, and a displayorder method to display items ordered and total amount due.
(c) in the main module, ask user to choose either regular or deluxe dinner combo. create an object and call its methods to input food items and display information of the order.
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 08:30
Helen's credit card has an apr of 15.32% and a grace period of 17 days and helen pays her balance in the full every month. if her last billing cycle ended on september 26, 2009, and she made her payment on october 11, 2009, did she owe any interest on her last statement's balance?
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 11:30
Why is body language an important factor in a business meeting
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 14:00
In the microsoft® access® and microsoft excel® programs, the ribbon contains tabs that are divided into with like tools in them. parts groups containers bunches
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 15:30
What type of forensic evidence was recovered during the bomb set off at the new mexico facility on the video that was similar to the evidence obtained at the boston bombings and how did the evidence allow the researchers to connect other pieces of evidence to the same bomb?
Answers: 2
You know the right answer?
Achinese restaurant has two types of dinner combos for customers to choose. a regular dinner combo i...
Questions
![question](/tpl/images/cats/en.png)
English, 18.03.2021 03:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.03.2021 03:30
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 18.03.2021 03:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.03.2021 03:30
![question](/tpl/images/cats/mat.png)