#include<stdio.h>
int main()
{
int year,month,days,mod1;
printf("Enter any days:\n");
scanf("%d",&days);
year=days/365;
mod1=days%365;
month=mod1/30;
days=mod1%30;
printf("year=%d\nmonth=%d\ndays=%d",year,month,days);
return 0;
}
ACM SOLVE AND SOLUTIONS.ACM means that Association for Computing Machinery.
0 comments:
Post a Comment