For this assignment, we need to create a program to manage the product catalog of a garden shop. This program must meet the following requirements:
- Garden shops have a name and stock of each of the products
- The products can be trees, flowers or decorations. About the products:
- Trees have a height.
- Flowers have a color.
- Decorations have a material, which can be wood or plastic.
- They all have a price.
- A ticket class must be created, where purchases can be registered in ONE list.
As for the functionalities of the Main, at a minimum, it must include the following:
- Create Garden Shop.
- Add Tree
- Add Flower
- Add Decoration.
- Stock: print through console all the trees, flowers and decorations that a shop has.
- Remove tree
- Remove flower
- Remove decoration.
- Print stock with quantities.
- Print total value of the garden shop.
- Create purchase tickets with multiple objects.
- Show a list of old purchases.
- View the total money earned from all sales.
The members of this project were:
For the methodology, we divided up the work between ourselves, to adapt to each one's availability.