文件名称:新建文件夹
介绍说明--下载内容均来自于网络,请自行研究使用
题目:输入某年某月某日,判断这一天是这一年的第几天?
1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊
情况,闰年且输入月份大于3时需考虑多加一天。(Question: enter a certain year, a certain day, to judge the day is the next day of the year?
1. program analysis: taking March 5th as an example, we should add up the first two months, and then add the 5 days, the day of the year, and the special day of the year.
In the case of a leap year and the input month is greater than 3, one more day should be considered.)
1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊
情况,闰年且输入月份大于3时需考虑多加一天。(Question: enter a certain year, a certain day, to judge the day is the next day of the year?
1. program analysis: taking March 5th as an example, we should add up the first two months, and then add the 5 days, the day of the year, and the special day of the year.
In the case of a leap year and the input month is greater than 3, one more day should be considered.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
新建文件夹 | 0 | 2018-02-06 |
新建文件夹\oo.dsp | 3351 | 2018-02-06 |
新建文件夹\oo.h | 325 | 2018-02-06 |
新建文件夹\新建文本文档 (2).txt | 325 | 2018-02-06 |