DEV Community

mathpurpose
mathpurpose

Posted on

C-Basics Ex8

  1. Write a C program to convert specified days into years, weeks and days. Note: Ignore leap year.

    Test Data :
    Number of days : 1329
    Expected Output :
    Years: 3
    Weeks: 33
    Days: 3

Top comments (0)