文件名称:Conditionals-a-Loops
-
所属分类:
- 标签属性:
- 上传时间:2016-11-16
-
文件大小:7.35kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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/
Conditionals & Loops/.classpath
Conditionals & Loops/.DS_Store
__MACOSX/
__MACOSX/Conditionals & Loops/
__MACOSX/Conditionals & Loops/._.DS_Store
Conditionals & Loops/.project
Conditionals & Loops/.settings/
Conditionals & Loops/.settings/org.eclipse.jdt.core.prefs
Conditionals & Loops/bin/
Conditionals & Loops/bin/Directions.class
Conditionals & Loops/bin/Hi_Lo.class
Conditionals & Loops/src/
Conditionals & Loops/src/.DS_Store
__MACOSX/Conditionals & Loops/src/
__MACOSX/Conditionals & Loops/src/._.DS_Store
Conditionals & Loops/src/Directions.java
Conditionals & Loops/src/Hi_Lo.java
Conditionals & Loops/.classpath
Conditionals & Loops/.DS_Store
__MACOSX/
__MACOSX/Conditionals & Loops/
__MACOSX/Conditionals & Loops/._.DS_Store
Conditionals & Loops/.project
Conditionals & Loops/.settings/
Conditionals & Loops/.settings/org.eclipse.jdt.core.prefs
Conditionals & Loops/bin/
Conditionals & Loops/bin/Directions.class
Conditionals & Loops/bin/Hi_Lo.class
Conditionals & Loops/src/
Conditionals & Loops/src/.DS_Store
__MACOSX/Conditionals & Loops/src/
__MACOSX/Conditionals & Loops/src/._.DS_Store
Conditionals & Loops/src/Directions.java
Conditionals & Loops/src/Hi_Lo.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.