文件名称:PDDJT
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
题目:输入某年某月某日,判断这一天是这一年的第几天?
1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊
情况,闰年且输入月份大于3时需考虑多加一天。
2.程序源代码:
-Topic: enter a certain day, judgment day is the first few days this year?
1 program analysis: in March 5th, for example, it should be the first two months of the add up, and then 5 days that the first few days of this year, special
The situation, and the input is greater than the month considered a leap year plus one day 3.
2 program source code:
1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊
情况,闰年且输入月份大于3时需考虑多加一天。
2.程序源代码:
-Topic: enter a certain day, judgment day is the first few days this year?
1 program analysis: in March 5th, for example, it should be the first two months of the add up, and then 5 days that the first few days of this year, special
The situation, and the input is greater than the month considered a leap year plus one day 3.
2 program source code:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PDDJT.docx