Write a C program to input number of days from user and convert it to years, weeks and days. How to convert days to years, weeks in C programming. Logic to convert days to years, weeks and days in C program.
Input
Enter days: 373
Output
373 days = 1 year/s, 1 week/s and 1 day/s