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...


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



Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here