Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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------------------------------------------------------------------------------------------------------

image text in transcribed

image text in transcribed

image text in transcribed

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 Wine

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions