Write a class to represent time that includes the member function to perform the following:-

- Take input for time and hours and minutes

- Multiply time by scalar value

- Add two times

- Display the time in the form hours : minutes


Subject Object Oriented Programming
NU Year Set: 3.(c) Marks: 5 Year: 2010 Set: 4.(c) Marks: 5 Year: 2009
Login to post your comment.