文件名称:EVEN
介绍说明--下载内容均来自于网络,请自行研究使用
编制计算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