文件名称:Calendar
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-10-24
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 水**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
C语言设计万年历流程
1、输入要查找的年份和月份,其中,要对输入参数进行检查,以保证输入参数正确,不会对后续程序造成影响。
2、对输入的年份和月份进行处理和计算,判断输入年份是否闰年,若为闰年,则置2月日期为29天,否则,置为28天。
3、计算输入月份的1号距当年元旦的天数,进而计算该月1号是星期几。
4、最后,打印出当月的月历。-C language design flow 1 calendar, enter the month and year you want to find where you want to check the input parameters, in order to ensure that the input parameters are correct, it will not affect the follow-up procedure. 2, enter the month and year of processing and calculation determines enter the year is a leap year, if it is a leap year, the date is set February 29 days, otherwise, set to 28 days. 3. Calculate the input January 1 New Year' s Day of that year the number of days, and then calculate the 1st day of the week. 4. Finally, print out a calendar month.
1、输入要查找的年份和月份,其中,要对输入参数进行检查,以保证输入参数正确,不会对后续程序造成影响。
2、对输入的年份和月份进行处理和计算,判断输入年份是否闰年,若为闰年,则置2月日期为29天,否则,置为28天。
3、计算输入月份的1号距当年元旦的天数,进而计算该月1号是星期几。
4、最后,打印出当月的月历。-C language design flow 1 calendar, enter the month and year you want to find where you want to check the input parameters, in order to ensure that the input parameters are correct, it will not affect the follow-up procedure. 2, enter the month and year of processing and calculation determines enter the year is a leap year, if it is a leap year, the date is set February 29 days, otherwise, set to 28 days. 3. Calculate the input January 1 New Year' s Day of that year the number of days, and then calculate the 1st day of the week. 4. Finally, print out a calendar month.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
万年历简介.txt
Calendar.C