登录
首页 » Java » Guessinggame

Guessinggame

于 2010-04-27 发布 文件大小:2KB
0 208
下载积分: 1 下载次数: 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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • UqCUkYCR
    易语言游戏行走源码,易语言写的游戏程序,很好的参考资料。(Easy language game walking source code, easy language to write the game program, a good reference.)
    2013-10-05 13:12:53下载
    积分:1
  • tuixiang
    推箱子游戏的C程序设计及实现,内含代码源程序论文(Sokoban game program design and implementation of C, containing source code for Papers)
    2010-06-04 09:44:47下载
    积分:1
  • vb
    说明:  一个用VB写的一个吃豆子游戏。。界面没有过多的美化。。 。。 。。 。。。 (err)
    2008-06-17 20:32:11下载
    积分:1
  • Blockinger-master
    Cool blocks game all platforms
    2017-01-30 16:37:26下载
    积分:1
  • Vive-SRWorks-0.7.0.0-Unity-Experience
    vive pro SRWork sdk :vive 官方最新AR sdk 版本号为0.07 适用于vive pro版头盔 unity5.6.0以上(Vive pro SRWork sdk:vive official latest AR sdk version number is 0.07 for vive pro version)
    2018-05-10 15:02:22下载
    积分:1
  • hanoi
    10层以内汉诺塔的移动小游戏,无UI界面,在程序执行窗口进行(The 10 layer within the tower of Hanoi mobile game, UI interface, the execution of the program window)
    2017-06-13 14:26:31下载
    积分:1
  • netliuziqi
    是一个网络游戏,网上大部分为网络五子棋,此程序为六子棋。(Is an online game, online most of the network Gobang that this procedure for the six sub-game.)
    2020-10-20 16:17:25下载
    积分:1
  • concealment
    Concealment_Space Engineers
    2018-11-03 11:08:50下载
    积分:1
  • pp
    说明:  简单的打砖块游戏,基本实现所要求的所有功能,敬请检查(Simple Breakout game, basically all the features required, please check)
    2010-05-12 09:27:45下载
    积分:1
  • BubblesGame
    用游戏引擎模仿flash做得小型游戏,可以自动记录分数,有自己得关卡(Flash game engine used to do small-scale imitation game, you can automatically record scores have have their own points)
    2009-04-10 18:03:16下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载