文件名称:tong
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:9.89kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个猜数字游戏的类,让用户可以使用该类进行猜数字游戏。该类应包括一个随机数、游戏上限和游戏下限3个成员变量,同时包含判断是否猜测正确以及返回上限和返回下限等方法,并编写主程序演示该类的用法。(提示:猜数字游戏的功能介绍,有系统随机生成一个1到100之间的整数,由用户通过不断的输入数字来进行猜测,每次猜测失败,都根据用户新输入的数进行范围的提示。)-A number guessing game design class, so that users can use this class to number guessing game. This class should include a random number, game upper and lower limit of three members of the game variables that contain both determine whether the guess is correct and return to the upper and lower back and other methods, and the preparation of the main program demonstrates the usage of the class. (Hint: number guessing game detail, a systematic random integer between 1 and 100, through continuous input by the user to guess numbers, each time speculation fails, all based on user input the number of the new range of tips for .)
相关搜索: 猜数字游戏
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tong/build/classes/javaapplication12/CaiShu.class
tong/build.xml
tong/manifest.mf
tong/nbproject/build-impl.xml
tong/nbproject/genfiles.properties
tong/nbproject/private/private.properties
tong/nbproject/project.properties
tong/nbproject/project.xml
tong/src/javaapplication12/CaiShu.java
tong/build/classes/javaapplication12
tong/build/classes
tong/nbproject/private
tong/src/javaapplication12
tong/build
tong/nbproject
tong/src
tong/test
tong
tong/build.xml
tong/manifest.mf
tong/nbproject/build-impl.xml
tong/nbproject/genfiles.properties
tong/nbproject/private/private.properties
tong/nbproject/project.properties
tong/nbproject/project.xml
tong/src/javaapplication12/CaiShu.java
tong/build/classes/javaapplication12
tong/build/classes
tong/nbproject/private
tong/src/javaapplication12
tong/build
tong/nbproject
tong/src
tong/test
tong
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.