Professional Documents
Culture Documents
Write A C Program To Convert Specified Days Into Years, Weeks and Days. Note: Ignore Leap Year
Write A C Program To Convert Specified Days Into Years, Weeks and Days. Note: Ignore Leap Year
#include <stdlib.h>
int main()
scanf("%d",&day);
year= day/365;
week=(day%365)/7;
left=(day-(year*365)-(week*7));
return 0;