In this programming assignment, you will create a hierarchy of classes (see below) that inherit from the beverage class. The base class (Beverage) and each derived class should have the appropriate attributes, parameterized constructor, destructor, setter/getter methods, and a toString() method that clearly defines the beverage. Write a program that creates several beverages (at least one of each from the list below) using a parameterized constructor and displays the set of beverages you created.
Beverage:
- Name
- Description
- Serving Size
- Calories
- Price
Coffee:
- Hot/Cold
- Caffeinated
- Roast Type (Light, Medium, Dark, French Roast, Espresso)
- Strength
- Creamer
- Sweetener
Tea:
- Type (Black, Oolong, Green, Herbal, etc.)
- Hot/Cold
- Creamer
- Sweetener
- Lemon
Soda:
- Brand
- Type (Cola, Lemon-Lime, Birch, etc.)
- Diet
Energy Drink:
- Brand
- Stimulant (caffeine, taurine, etc.)
- Sweetener
The program will be run through Safe-Assign and may be peer-reviewed. In addition to submitting the program here, make sure you have access to it during class so that you can send it to a fellow student.
Submit the program (.cpp files) along with three screenshots of your output.