#include #include int main() { int numOfDays = 0; printf("Enter the number of days : "); scanf("%d",&numOfDays); int month = numOfDays/28; int remDays = numOfDays % 28; int week = remDays / 7; int days = remDays % 7; printf("Number of days in desired format: %d:%d:%d\n",month,week,days); return 0; }