文件名称:whichday
-
所属分类:
- 标签属性:
- 上传时间:2013-04-01
-
文件大小:1.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义一个结构体变量(包括年、月、日),计算该日在本年中为第几天?
(注意考虑闰年问题),要求写一个函数days,实现上面的计算。
由主函数将年月日传递给days函数,计算后将日子传递回主函数输出-Define a structure variable (year, month, day), calculate the day for the first few days of the year? Attention to consider the leap year problem, and asked to write a function days to achieve the above calculations. To days date passed to the function, calculated after day passed back by the main function of the main function output
(注意考虑闰年问题),要求写一个函数days,实现上面的计算。
由主函数将年月日传递给days函数,计算后将日子传递回主函数输出-Define a structure variable (year, month, day), calculate the day for the first few days of the year? Attention to consider the leap year problem, and asked to write a function days to achieve the above calculations. To days date passed to the function, calculated after day passed back by the main function of the main function output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test3.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.