所属分类:
家庭/个人应用
开发工具:C#
文件大小:10KB
下载次数:2
上传日期:2015-08-21 11:20:57
说明: 题目:输入某年某月某日,判断这一天是这一年的第几天?
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,12817,2015-08-21