Question
I NEED A C++ CODE FOR THIS! THANKYOU! ALREADY POSTED THE WEBSITE CONTENT! C++ Assignment The following webpage provides a brief overview of beverage classification:
I NEED A C++ CODE FOR THIS! THANKYOU! ALREADY POSTED THE WEBSITE CONTENT!
C++ Assignment
The following webpage provides a brief overview of beverage classification:
https://361degreeshospitality.wordpress.com/2014/06/19/beverages-its-classification/
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 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.)
- Sweetene
----------------------------------------------------------------------------------------------------------------WEBSITE------------------------------------------------------------------------------------------------------
Alcoholic Beverage Nonalcoholic beverage Classification of Beverages Beverages Tea/ Coffee/ Juices/ Milk Non Aerated Non Alcoholic Soda/ Soft drinks/ Energy Drinks Alcoholic Aerated Fermented Distilled Whisky/ WhiskeyVodka Beers Rum Liqueurs and Others Wine Alcoholic Beverage Nonalcoholic beverage Classification of Beverages Beverages Tea/ Coffee/ Juices/ Milk Non Aerated Non Alcoholic Soda/ Soft drinks/ Energy Drinks Alcoholic Aerated Fermented Distilled Whisky/ WhiskeyVodka Beers Rum Liqueurs and Others WineStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started