文件名称:rili
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:152.54kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写日历的程序,输入年度月份后,按日历的形式输出本月。可实现主要功能分析如下:
1.由用户输入年度月份,判断数据是否合法,1900≤year≤2100,1≤month≤12,年份字符串转换成二进制数保存到变量year,month中,否则提示错误
2.判断闰年闰月,修改monthday:闰年将2月天数改为29,否则为28。计算每月有几天,当月的1号是星期几。
3.显示输出月历,用户继续查询的话返回重新继续输入年度月份,否则退出,结束程序。
-Procedures for the preparation of the calendar, enter the month of the year after the calendar month in the form of output. Main functions can be realized as follows: 1. May the year entered by the user to determine the legality of the data, 1900 ≤ year ≤ 2100,1 ≤ month ≤ 12, the year the string into a binary number stored in the variable year, month, otherwise an error 2. to determine leap year leap, modify monthday: leap year to February the number of days to 29, otherwise 28. Calculate a few days each month, 1 month of the week. 3. Display output calendar, users continue to query, then returns to re-enter the month of the year, otherwise the exit end of the program.
1.由用户输入年度月份,判断数据是否合法,1900≤year≤2100,1≤month≤12,年份字符串转换成二进制数保存到变量year,month中,否则提示错误
2.判断闰年闰月,修改monthday:闰年将2月天数改为29,否则为28。计算每月有几天,当月的1号是星期几。
3.显示输出月历,用户继续查询的话返回重新继续输入年度月份,否则退出,结束程序。
-Procedures for the preparation of the calendar, enter the month of the year after the calendar month in the form of output. Main functions can be realized as follows: 1. May the year entered by the user to determine the legality of the data, 1900 ≤ year ≤ 2100,1 ≤ month ≤ 12, the year the string into a binary number stored in the variable year, month, otherwise an error 2. to determine leap year leap, modify monthday: leap year to February the number of days to 29, otherwise 28. Calculate a few days each month, 1 month of the week. 3. Display output calendar, users continue to query, then returns to re-enter the month of the year, otherwise the exit end of the program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
rili.asm
报告.doc
报告.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.