Code in C++ Using inheritance AND composition create a program to incorporate th
ID: 3935594 • Letter: C
Question
Code in C++
Using inheritance AND composition create a program to incorporate the following data members into the following classes appropriately.
Data members: price (float), company name (string), memory (int), display size (float), watts (int)
Electronics
Manufacturer
TV
Computer
Receiver
1. Comply with the DRY principle (look for repeated data).
2. Instantiate and initialize an object of type TV.
3. Display ALL the appropriate information for the object.