文件名称:EVEN
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.63kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编制计算N (N<50)个偶数之(2+4+6+…)的子程序和接收输入N及将结果(例如2+4+6=12)显示的主程序。对键盘输入的字符进行判断,如果不是数字,显示提示,输入两位数。对输入的数字进行判断,如果输入的数不在1~50之间,提示重新输入。结束时,显示提示,按任意键退出。在程序的开始显示自己的学号及姓名(拼音)。编制一个主模块,编制一个子程序模块。实现参数的传递。
-The preparation of calculating the N (N <50) were even on the (2+4+6+ ...) of the subroutine and receive input N and the results (eg 2+4+6 = 12) showed that the main program. Keyboard input to determine the characters, if not the figures show the prompt, enter the double digits. Carried out to determine the number of input, if the number entered is not between 1 ~ 50, suggesting that re-enter. At the end of the show prompted, press any key to exit. The beginning of the procedure show their Student ID and name (pinyin). The preparation of a main module, the preparation of a module subprogram. The realization of the transmission parameters.
-The preparation of calculating the N (N <50) were even on the (2+4+6+ ...) of the subroutine and receive input N and the results (eg 2+4+6 = 12) showed that the main program. Keyboard input to determine the characters, if not the figures show the prompt, enter the double digits. Carried out to determine the number of input, if the number entered is not between 1 ~ 50, suggesting that re-enter. At the end of the show prompted, press any key to exit. The beginning of the procedure show their Student ID and name (pinyin). The preparation of a main module, the preparation of a module subprogram. The realization of the transmission parameters.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
N个偶数的和.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.