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 systemwhich 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 valuesDerive 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 ofitem(s) served) A parameterized constructor, which requires arguments for all of its own data fields as well as for thedata fields of base class A member function named show ( ) to show all the details of an order including order_no , price, andtotalCharges In the main( ) function, instantiate an object of class Savour object and test the implementation of bothclasses through this object.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here