C++ code
1 year = 15 months
1 month = 30 days
write a function that takes an int parameter that represents the number of days, and converts the number of days to years, months, and days and returns this information in a struct
So for example, it will convert 800 days into a struct that represents one year, 11 months, and 20 days
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here