Question: C++ Given the restaurant class, implement a demo class to create 5 restaurants, are as follows Limani Seafood Grill, 4.6, 379, $$$ La Famiglia Sorrento,
C++ Given the restaurant class, implement a demo class to create 5 restaurants, are as follows
-
Limani Seafood Grill, 4.6, 379, $$$
-
La Famiglia Sorrento, 4.5, 175, $$
-
Mulberry House, 4.7, 301, $$
-
Outta Hand Pizza, 4.7, 96, $
-
Chez Catherine, 4.6, 118, $$$$
Modify the existing restaurant class to include the above information. In the main function, create an array of restaurants and find the restaurant with the highest rate, and least expensive.
Note: you may need to overload the restaurant. Keep the function with less than 3 lines to be inline functions.
B. Assume there are 6 different restaurant types
Italian, French, Greek, Chinese, Japanese, mexico
Randomly generate an array of size 50 restaurants, and count the number of each restaurant in each category.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
