Write a C++ program to read two-time objectst1,t2 in the form of years and weeks by encapsulating them in a class time. Add these two time objects t1 and t2 by sending the object t2 as an argument toAdd_time( )and then return the result to another time objectt3(Note: 1 year =52 weeks)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here