作业帮 > 综合 > 作业

int leapdays[13]={0,31,29,31,30,31,30,31,31,30,31,30,31}; in

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/10 18:30:38
int leapdays[13]={0,31,29,31,30,31,30,31,31,30,31,30,31}; int a[13]; int sum,total; sum=0; a[0]=0;s
int leapdays[13]={0,31,29,31,30,31,30,31,31,30,31,30,31};
int a[13];
int sum,total;
sum=0;
a[0]=0;sum=0;
for(int i=1;i
int leapdays[13]={0,31,29,31,30,31,30,31,31,30,31,30,31}; in
int leapdays[13]={0,31,29,31,30,31,30,31,31,30,31,30,31}; //保存每月有多少天
int a[13]; //保存从1月1日到几月份有多少天
int sum,total; // sum 保存闰年数,total 保存周几
sum=0; a[0]=0;sum=0;
for(int i=1;i