Ask your own question, for FREE!
Computer Science 21 Online
OpenStudy (anonymous):

Write a function name year() that has an integer parameter named yr and four integer reference parameters named month, week, day and hour. The function is to convert the passed number of years into a number of months, weeks, days and hours. Use passing by reference. Include this function in a working program. Sample output: Enter a number of years: 1 1 year is 12 months, 48 weeks, 365 days and 8760 hours

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!