文件名称:weiji
介绍说明--下载内容均来自于网络,请自行研究使用
人机对话
学习和熟悉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