登录
首页 » Java » Guessinggame

Guessinggame

于 2010-04-27 发布 文件大小:2KB
0 231
下载积分: 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 个回复

  • Dx9MengBan
    多重纹理的高级混合,适用于图像仿真显示。(Advanced Blending multiple textures for image simulation display.)
    2011-08-26 00:54:54下载
    积分:1
  • code
    用C++实现了一个飞机大战的游戏,游戏中有敌方飞机,用C++类来实现,地方飞机有大中小飞机,用C++的继承来是实现,是个不错的C++基础项目(A game of aircraft war is realized with C++. There are enemy planes in the game, which are implemented with C++ classes. Local planes have large, medium and small planes. It is a good basic project of C++ that is realized with the inheritance of C++)
    2020-06-16 07:20:01下载
    积分:1
  • 半条命II源代码
    半条命II游戏源代码,这是完整的企业级游戏源码,采用vc6编写。是开发大型游戏的必备参考,非常有价值。
    2022-03-23 19:15:28下载
    积分:1
  • wuziqi
    简单实用的五子棋小游戏.好像有点弱智...(Simple and Practical Renju game. A little bit mentally retarded)
    2009-09-15 11:05:01下载
    积分:1
  • Eros
    用c语言编写的俄罗斯方块游戏源码,控制台下的模拟(Tetris source code written in c language, simulation of the console )
    2013-05-02 20:00:56下载
    积分:1
  • wotlas-src-1.3
    JAVA游戏引擎一套(a JAVA game engine)
    2005-02-27 10:07:52下载
    积分:1
  • 1
    关于麻将机的原理以及机械结构,还有就是改良计划(About mahjong machine principle and mechanical structure, there is improvement programs)
    2013-11-10 22:40:04下载
    积分:1
  • Tetris-GAME
    俄罗斯方块小游戏,使用matlab编程,内有画面截图。(Tetris game, using MATLAB programming, there are screenshots.)
    2015-03-30 16:41:36下载
    积分:1
  • 高级战争 2 源代码
    高级战争的源代码,高级战争是策略型战旗游戏,非常有意思,也非常好玩,考智商,游戏源码经测试在Linux下编译成功。
    2022-07-19 06:11:11下载
    积分:1
  • llk
    实现连连看游戏的算法。采用递归的算法找实现,很参考价值。(Achieve Lianliankan game algorithms. Find a recursive algorithm implementation, it is reference value.)
    2013-08-06 12:40:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载