摘要: 1:定义一个结构体变量(包括年,月,日)。计算该日在本年中是第几天注意闰年的问题 #include <stdio.h> #include <math.h> struct Date{ int y; int m; int d; } date; //判断是否是闰年 int IsYear(int year) 阅读全文
posted @ 2020-10-15 11:04 薄眠抛却陈年事。 阅读(220) 评论(0) 推荐(0) 编辑