编写c语言万年历程序 要求输入能够查询任意年份的日历或某年某月的...答:include<stdio.h> include<string.h> include<ctype.h> long year;int month,day,error_input;char s[100];int monthdays[12]={31,28,31,30,31,30,31,31,30,31,30,31};void inputdate(){ long n[3]={0,0,0},k=0,i,len;error_input=-1;printf("Please input the year[,month...