文件名称:example4
介绍说明--下载内容均来自于网络,请自行研究使用
题目:输入某年某月某日,判断这一天是这一年的第几天?
1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊
情况,闰年且输入月份大于3时需考虑多加一天。-Title: enter a certain period of a day, judgment day is the first few days of the year? Program analysis: March 5, for example, before the first two months combined, then add five days on the first few days of this year' s special circumstances, a leap year and enter a month more than 3 needs Consider the extra day.
1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊
情况,闰年且输入月份大于3时需考虑多加一天。-Title: enter a certain period of a day, judgment day is the first few days of the year? Program analysis: March 5, for example, before the first two months combined, then add five days on the first few days of this year' s special circumstances, a leap year and enter a month more than 3 needs Consider the extra day.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
example4.doc