Question: In C++ Make sure to follow every step please. Create a Television class. A UML diagram has been provided to help you determine the proper
In C++ Make sure to follow every step please.
Create a Television class. A UML diagram has been provided to help you determine the proper spelling for attributes and functions.

- The attributes for the Television are:
- Manufacturer
- Model
- Screen Size
- Resolution
- Price
- Serial Number
- Power (i.e. on or off)
- Channel
- Volume
- Create a constructor for the class that receives Manufacturer, Model, Screen Size, Resolution, Price, and Serial Number. The constructor should set the attributes provided and provide default values for all other attributes. The default power state is off, the default channel is 3, and he default volume is 1.
- Create an appropriate destructor.
- Provide separate Accessor/Get Methods that will return the values of the various attributes.
- Provide separate Mutator/Set Methods that will allow a user to turn the tv on/off, change the channel, and set the volume. Do not provide mutator methods for any other attributes.
Create a main program that utilizes the Television class
- Allow the user to create multiple televisions. Prompt the user for the number of televisions to create.
- For each television:
- Prompt the user for the Manufacturer, Model, Screen Size, Resolution, Price, and Serial Number Ensure your program validates the information.
- Create an object for the Television.
- Using the Accessor Methods, display the Television's information (manufacturer, model, etc.).
- Allow the user to change the television's state (on/off, channel, volume, etc.). Validate any input before calling the appropriate functions.
- Allow the user to change any of the attributes you created (appropriately)
- Display the list of Television's and their information.
Be sure to include in your program:
- An appropriate header comment and annotation,
- Input validation of any values provided by the user.
Sample Output:




Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
