文件名称:C语言程序:日历的实现
文件大小:932B
文件格式:C
更新时间:2014-04-20 04:09:12
C语言 日历
部分代码:
int main(int argc, char *argv[])
{
int year,month,leap_year,i,j,days_this_year,week_days;
long days;
int months[12]={31,28,31,30,31,30,31,31,30,31,30,31};
leap_year=0;
days_this_year=0;
days=0;
week_days=0;
printf("Please input year and month:");
scanf("%d,%d",&year,&month);
for(i=1900;i