Ex 1. A restaurant’s Menu is divided into following sub-headings : 1) Starters 2) Soups 3) Main Course 4) Rice 5) Breads 6) Beverages 7) Deserts…etc. Write a user friendly menu driven program which has following features: a. Create a dynamic data structure to store the above list of items and their costs. Input at least 3 values in each category. b. Output complete menu of the restaurant. c. Insert an item in a given category d. Edit an item in the category(Delete or change data) e. Insert a new category in the menu
Ex 2. Add following features to above program:
a. Write a function which outputs the list of items which constitute the least value
complete meal(that consist ofone dish in every category), along with their costs.
b. Ask user to input quantity of a category that she wants to order and then provide
minimum value selections available in the menu.
c. Ask user to input the quantity of a category she wants to order and then provide a
list of recommended dishes in the category.(recommended dishes can be
indicated by a flag(rec) in the item structure)