Savour Foods Known for its taste and affordable price, Providing Quality and hygienic food. Suppose you are working as a programmer in Savour Foods. CEO of Savour Foods assigned a task to you to develop a system which can manage the customer’s orders in efficient way. You have to write a oop c++ program to create a class named Savour contains Two data members i.e. the order_no and the price of item(s) served by A no-argument constructor to initialize both data fields with default values of “ord#0”, 0.0 A parameterized constructor to initialize all data fields with user-defined values Derive a class named SavourStaff from the class Savour that holds the following: Two data members’ i.e. o servicecharge, o the tableNumber to which the service has been made A function named totalCharges that returns total cost of an order (including servicecharge + price of item(s) served) A parameterized constructor, which requires arguments for all of its own data fields as well as for the data fields of base class A member function named show ( ) to show all the details of an order including order_no , price, and totalCharges In the main( ) function, instantiate an object of class Savour object and test the implementation of both classes through this object.
Savour Foods Known for its taste and affordable price, Providing Quality and hygienic food. Suppose you are working as a programmer in Savour Foods. CEO of Savour Foods assigned a task to you to develop a system
which can manage the customer’s orders in efficient way. You have to write a oop c++ program to create a class named Savour contains
Two data members i.e. the order_no and the price of item(s) served by
A no-argument constructor to initialize both data fields with default values of “ord#0”, 0.0
A parameterized constructor to initialize all data fields with user-defined values
Derive a class named SavourStaff from the class Savour that holds the following:
Two data members’ i.e.
o servicecharge,
o the tableNumber to which the service has been made
A function named totalCharges that returns total cost of an order (including servicecharge + price of
item(s) served)
A parameterized constructor, which requires arguments for all of its own data fields as well as for the
data fields of base class
A member function named show ( ) to show all the details of an order including order_no , price, and
totalCharges
In the main( ) function, instantiate an object of class Savour object and test the implementation of both
classes through this object.
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)