8. Write a function which takes a number of days as input and prints total number of years, number of months and remaining number of days as output. Sample Input (4320) Sample Output 11 years, 10...


8. Write a function which takes a number of days as input and prints total number of<br>years, number of months and remaining number of days as output.<br>Sample Input<br>(4320)<br>Sample Output<br>11 years, 10 months and 5 days<br>(4000)<br>10 years, 11 months and 20 days<br>

Extracted text: 8. Write a function which takes a number of days as input and prints total number of years, number of months and remaining number of days as output. Sample Input (4320) Sample Output 11 years, 10 months and 5 days (4000) 10 years, 11 months and 20 days

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here