文件名称:weiji
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:517byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
人机对话
学习和熟悉DOS功能调用。
1. 程序执行后,首先询问:
What’s your name?
2. 要求用户键入回答,例如输入:lily。
3. 再次询问:
Which class are you in?
4. 要求用户再次键入回答,例如输入:CK09-12。
5. 回车换行。
6. 显示:Your name is lily,and your class is CK09-12. confirm(y/n)。
7. 如果回答y,退出程序;否则,返回1。
-The man-machine dialogue
[objective] to study and familiar with DOS function calls.
[the design requirements]
1. The program execution, first ask:
What s your name?
2. Require the user to type in answer, for example input: lily.
3. Ask again:
Which class are you in?
4. Require the user to type in answer again, such as input: CK09-12.
5. Carriage returns.
6. Show: Your name is lily, and Your class is CK09-12. Confirm (y/n).
7. If the answer y, quit Otherwise, returns 1.
学习和熟悉DOS功能调用。
1. 程序执行后,首先询问:
What’s your name?
2. 要求用户键入回答,例如输入:lily。
3. 再次询问:
Which class are you in?
4. 要求用户再次键入回答,例如输入:CK09-12。
5. 回车换行。
6. 显示:Your name is lily,and your class is CK09-12. confirm(y/n)。
7. 如果回答y,退出程序;否则,返回1。
-The man-machine dialogue
[objective] to study and familiar with DOS function calls.
[the design requirements]
1. The program execution, first ask:
What s your name?
2. Require the user to type in answer, for example input: lily.
3. Ask again:
Which class are you in?
4. Require the user to type in answer again, such as input: CK09-12.
5. Carriage returns.
6. Show: Your name is lily, and Your class is CK09-12. Confirm (y/n).
7. If the answer y, quit Otherwise, returns 1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
weiji.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.