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