文件名称:Guessinggame
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.27kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
猜数字游戏
1.实验目的
使用if…else和循环语句解决问题。
2.实验要求
编写一个Java应用程序,实现以下功能:
(1)程序随机产生一个1~100间的整数;
(2)用户在输入对话框中输入自己的猜数;
(3)程序根据用户猜测的数,给出提示信息,分别是:“猜大了”、“猜小了”和“猜对了”;
(4)如果用户没猜对,可根据提示信息再次输入数,直到猜对为止。
-Guessing game
1. Purpose of the experiment using the if ... else statements and loops to solve the problem. 2. Experiments required to write a Java application, to achieve the following functions: (1) program to generate a random integer from 1 to 100 (2) user input dialog box, enter your own guessing (3) program the user to guess the number of given prompts, namely: " guess big" , " guess smaller" and " guessed it" (4) If the user did not guess right, can re-enter the number of reminder, until the guess on the up.
1.实验目的
使用if…else和循环语句解决问题。
2.实验要求
编写一个Java应用程序,实现以下功能:
(1)程序随机产生一个1~100间的整数;
(2)用户在输入对话框中输入自己的猜数;
(3)程序根据用户猜测的数,给出提示信息,分别是:“猜大了”、“猜小了”和“猜对了”;
(4)如果用户没猜对,可根据提示信息再次输入数,直到猜对为止。
-Guessing game
1. Purpose of the experiment using the if ... else statements and loops to solve the problem. 2. Experiments required to write a Java application, to achieve the following functions: (1) program to generate a random integer from 1 to 100 (2) user input dialog box, enter your own guessing (3) program the user to guess the number of given prompts, namely: " guess big" , " guess smaller" and " guessed it" (4) If the user did not guess right, can re-enter the number of reminder, until the guess on the up.
相关搜索: java guessing ga
Guessinggame
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GuessNumber.class
GuessNumber.java
Guessing game.doc
GuessNumber.java
Guessing game.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.