搜索资源列表

  1. GuessNumber

    0下载:
  2. 猜数字游戏1. 随机生成4个0到9的整数,组成一个序列(使用LinkedList<Integer>存储)例如:3 6 4 4System.out.println((int)(Math.random(0*4)))2. 然后要求用户循环猜这4个数子,在用户每猜一次之后,提示用户有几个数字的位置正确了。 例如:用户输入3 7 2 4 (3和4的位置正确了),则提示用户有2个数字正确。3. 使用LinkedList存储用户每次猜
  3. 所属分类:JSP源码/Java

    • 发布日期:2024-06-17
    • 文件大小:1024
    • 提供者:adaf
  1. zuoyelianxi1016

    0下载:
  2. 1. 随机生成4个0到9的整数,组成一个序列(使用LinkedList<Integer>存储) 例如:3 6 4 4 2. 然后要求用户循环猜这4个数子,在用户每猜一次之后,提示用户有几个数字的位置正确了。   例如:用户输入3 7 2 4 (3和4的位置正确了),则提示用户有2个数字正确(但不提 示具体是哪2个数字正确,需要用户自行判断)。    3. 使用LinkedList存储用户每次猜
  3. 所属分类:游戏

    • 发布日期:2024-06-17
    • 文件大小:8192
    • 提供者:luyun
  1. whats-the-price

    0下载:
  2. 一个猜价格的小程序,通过输入一个真值,之后每次不断猜测来逼近真值,类似与二叉树查找。-I guess the price of a small program by entering a true value, after each constantly guessing to approach the true value, similar to binary search.
  3. 所属分类:其他小程序

    • 发布日期:2024-06-17
    • 文件大小:150528
    • 提供者:wtk2
  1. 猜数游戏

    0下载:
  2. 进行十次猜数.每次猜之后,会提示你的数字大了还是小了,直到次数用完或答对为止.(Take ten guesses, and each time you guess the number, you will be prompted or smaller, until the number is finished or the answer is right.)
  3. 所属分类:其他小程序

    • 发布日期:2024-06-17
    • 文件大小:738304
    • 提供者:999.999

源码中国 www.ymcn.org