Create a class called time




Create a class called time that has separate int member data for hours, minutes, and seconds. One function member should take this date from the user. Another member function should display it, in 11:59:59 format. Define two objects in the main program and take two values for time in the specified format from the user, add them using operator overloading and display the resultant time.