文件名称:PDDJT
-
所属分类:
- 标签属性:
- 上传时间:2015-08-21
-
文件大小:9.93kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
题目:输入某年某月某日,判断这一天是这一年的第几天?
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.