A company that produces TV screens. Each TV has an ID, Description, Features, number_of_features…

A company that produces TV screens. Each TV has an ID, Description, Features, number_of_features and Price. ID

is a constant serial number generated automatically starting from 10000. Description is declared as string. Features is

pointer of type Feature given above, of while number_of_features is integer. Please note number_of_features can be

0. The company produces a range of screens including regular_TV and smart_TV. A Regular_TV has a RefreshRate

(int) and TVSize (int). A smart_TV has CPUSpeed (int) and Memory_size (int).

* Make sure to do any necessary validations.

* All data members should be defined as private.

* Separate class declaration and implementation.

1) Create a base class TV with all necessary members and based on the following:

a. A initializer constructor to initialize the data members

b. A set function to set values of Description and Price.

c. A set function to set Features and number_of_features

d. A function named Display to print all data attributes defined in TV

e. A get function that returns the price of the screen

f. A pure virtual function named setTV_Device to set all data attributes defined in base and derived

classes.

g. A virtual destructor function

Attachments:

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.