Question: - Do all exercises (full solution). - Write code using basic C++ syntax and functions. - Practice using Inheritance. - class Date and class Customer




Class Date and class Customer are available Ex 1. Driver Class Implement Cans diver as desabed in Eve int. dagram abere. Ex 2. Order Class arotectes asd not privele in Fher dase. Ex 3. RestaurantDrder class 1. Parmmeteroed constructor thar receves al dota menbess nduding dara menbers in the best cass. 2. prik, detak 0 of the hase dass thould be everndsen te prive the aderional nlarmution about the resteurant newe and meal_name , Ex 3. MertOrder class 1. Paranteriaed consthuctor that receves al date monces nouding dea merbess n the behe cass. 3- prik. detats 0 of the base diars thould be overndber to print the adenosal mornason about the iteris and tems.pice. 4. There are thee Bings that must be defined inside the Mgnorder dass thak are nat oulcony requested and mast eaie. What are they? Deline two of them within the dam Ex 4. Driver Implement a diver progan te test pour ocale. 1. Create an object of type Cube, Cussmer, Criver 2. create an abject of tyoe Order uoing created in 1. 3. create an object of type fletauraniCrder and Menorder - 4. set the price of Meriar antorder object te 50 . 5. pritt the detail ef erder cbject and Mertorder abject. 6- if you une privale or protected irhertance, which part of your code is gang the be arpng 7 ahy 7 ? Answer this part as a coment in your main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
