C语言实现打印某年的历法日期 #include "stdio.h" long int f(int year,int month) { /*f(年,月)=年-1,如月<3;否则,f(年,月)=年*/ if