文件名称:Conditionals-a-Loops
- 所属分类:
- JSP源码/Java
- 资源属性:
- [MacOS] [Java] [源码]
- 上传时间:
- 2016-11-16
- 文件大小:
- 7kb
- 下载次数:
- 1次
- 提 供 者:
- 孙**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1、编写程序,实现WSAD”方向控制。功能描述:编写一个程序,当键盘输入为“WSAD”这四个按键中的其中一个(大小写皆可),输出相对应的方向。比如用户输入“W”,输出“左”。
2、编写程序,实现Hi‐Lo 猜猜游戏程序。实验描述:从1-1000 中随机选择一个数,反复让用户猜该数字是什么,直到用户猜对或用户退出为止。每猜一次告诉用户猜测的结果是对还是过大或是过小。使用一个标识值确定用户是否想退出。当用户猜对时报告其猜测的次数。每次游戏结束时询问用户是否想继续玩,直到用户选择结束。-1, the preparation procedures, WSAD " Direction Control Function Descr iption: Write a program that, when the keyboard input is" . " This is one of the four buttons (upper or lower case), the output of the direction corresponding to a user input such as" WSAD . W " , the output of the" left " 2 programming, to achieve Hi-Lo guess game program experiment descr iption: 1-1000 a randomly selected number, repeatedly allowing users to guess what the number is, until the user or user guess exit. each guess time to tell the user to guess the result is too large or too small, or use an identifier value to determine whether the user wants to exit. when you guess at the number of reports of their guesses. Always ask whether the end of the Games I want to continue to play until the user selects an end.
2、编写程序,实现Hi‐Lo 猜猜游戏程序。实验描述:从1-1000 中随机选择一个数,反复让用户猜该数字是什么,直到用户猜对或用户退出为止。每猜一次告诉用户猜测的结果是对还是过大或是过小。使用一个标识值确定用户是否想退出。当用户猜对时报告其猜测的次数。每次游戏结束时询问用户是否想继续玩,直到用户选择结束。-1, the preparation procedures, WSAD " Direction Control Function Descr iption: Write a program that, when the keyboard input is" . " This is one of the four buttons (upper or lower case), the output of the direction corresponding to a user input such as" WSAD . W " , the output of the" left " 2 programming, to achieve Hi-Lo guess game program experiment descr iption: 1-1000 a randomly selected number, repeatedly allowing users to guess what the number is, until the user or user guess exit. each guess time to tell the user to guess the result is too large or too small, or use an identifier value to determine whether the user wants to exit. when you guess at the number of reports of their guesses. Always ask whether the end of the Games I want to continue to play until the user selects an end.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Conditionals & Loops
....................\.classpath
....................\.DS_Store
__MACOSX
........\Conditionals & Loops
........\....................\._.DS_Store
Conditionals & Loops\.project
....................\.settings
....................\.........\org.eclipse.jdt.core.prefs
....................\bin
....................\...\Directions.class
....................\...\Hi_Lo.class
....................\src
....................\...\.DS_Store
__MACOSX\Conditionals & Loops\src
........\....................\...\._.DS_Store
Conditionals & Loops\src\Directions.java
....................\...\Hi_Lo.java