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

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!