24 Sep PMCA Sunday 10:00 Practice -21.
Create a Time class and initialize it with hours and minutes.
- Make a method addTime which should take two time object and add them. E.g.- (2 hour and 50 min)+(1 hr and 20 min) is (4 hr and 10 min)
- Make a method displayTime which should print the time.
- Make a method DisplayMinute which should display the total minutes in the Time. E.g.- (1 hr 2 min) should display 62 minute.