Write a c program

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) alt text

it looks like your homework :slight_smile:

2 Likes

Good problem. But, why is it posted here?

Tell us, what you need. If it is just the solution, you have come to the wrong place.

But, if it is guidance/help, you have come to the right place. Tell us what you have done and what are the problems you encounter to proceed.

Good luck with that. :slight_smile:

#include <stdio.h>

int main(void) {
	printf("smells like homework, LOL :)");
	return 0;
}
3 Likes

bro, i suggest you to look at stackoverflow, there you gonna find what you looking for, imho

//