C program to convert total days to year, month and days.

 

Sample Input
Enter number of days:4000
Sample Output
10 years 11 months 20 days

You may also like...