I am currently really new to this and I am stuck on some programs and was wondering if anyone could help me with either or both of the program specifications bellow.
1. Construct a class diagram that can be used to represent food items. A type of food can be classified as basic or prepared. Basic food items can be further classified as meat, fruit, veg or Grain. The services provide by the class should be the ability to enter data for new food, to change data for food and to display existing data about food.
using this class definition write a main program to include a simple menu that offers the following choices:
1. Add food
2. Modify Food
3. Delete Food
4. Exit this menu
2. Read a list of numbers from a file and then print them out in reverse order. State whether the list is palindromic or not.
I know its not the best idea to ask for people to write short code for me but I learn by reading the code at the same time as seeing it run, otherwise I get stuck so if anyone helps that would be much appreciated thank you.