Question: please help me using dev c++ ZOOM + UML Given the class diagram below, create a simple Television remote controlled application. Classes and functions shown
please help me using dev c++
ZOOM + UML Given the class diagram below, create a simple Television remote controlled application. Classes and functions shown in the diagram must be complete and properly declared. Television +Channel:integer +Volume: integer +Status: integer Remotec +RChannel: Integer +RVolume: Integer +RStatus: Integer +DecreaseVolumel +IncreaseVolume +SetChannel +TurnOno +TurnOffl) +DisplayVolume) +DisplayChannell Cable TV + MaxChannel: Integer Regular TV + MaxChannel: Integer SetiStatus() +SetiStatus() Use the following program description: The program has 2 TV objects. One as Cable TV and the other is Regular TV Ask the user to enter the type of Television. This will automatically turn on the Television. The change of channel and volume shall only be done when the tv is on (Status =1). Changes in channels and volume must be handled by an object of Remotec. The initial channel for Cable TV is 10 while Regular TV is 2. Initial volume regardless of the type of Television is 10. Display these values once the TV is turned on. Ask the user for an action (change volume or change channel). The maximum channel for Cable TV is 50 while Regular TV is 10. Maximum Volume is 100. Action is invalid if the changes exceeds to its maximum value. Continue to ask user for an action until the user enters 'O' (zero) to turn off the IV
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
