文件名称:zuoyelianxi1016
介绍说明--下载内容来自于网络,使用问题请自行百度
1. 随机生成4个0到9的整数,组成一个序列(使用LinkedList<Integer>存储)
例如:3 6 4 4
2. 然后要求用户循环猜这4个数子,在用户每猜一次之后,提示用户有几个数字的位置正确了。
例如:用户输入3 7 2 4 (3和4的位置正确了),则提示用户有2个数字正确(但不提
示具体是哪2个数字正确,需要用户自行判断)。
3. 使用LinkedList存储用户每次猜测是数字组合。用户可以随时查看之前自己的输入
例如:3 7 2 4
5 7 2 4
……
4. 用户猜到第10次时,就没有机会,提示猜测失败。-A randomly generated 4 0-9 integer form a sequence (using LinkedList <Integer> Storage) example: 36442. Then asks the user sub-loop guess this number 4 in the user every guess once, prompts the user to have a few numbers in the correct position. For example: The user enters 3724 (3 and 4 position correct), then prompts the user to have two numbers right (but not the specific tips which two numbers correctly, requiring users to make their own judgment). 3 Use LinkedList store user each guess is a digital portfolio. Before users can view their input example: 37245724 ...... 4 10th when the user guessed, there is no chance that prompts speculation fails.
例如:3 6 4 4
2. 然后要求用户循环猜这4个数子,在用户每猜一次之后,提示用户有几个数字的位置正确了。
例如:用户输入3 7 2 4 (3和4的位置正确了),则提示用户有2个数字正确(但不提
示具体是哪2个数字正确,需要用户自行判断)。
3. 使用LinkedList存储用户每次猜测是数字组合。用户可以随时查看之前自己的输入
例如:3 7 2 4
5 7 2 4
……
4. 用户猜到第10次时,就没有机会,提示猜测失败。-A randomly generated 4 0-9 integer form a sequence (using LinkedList <Integer> Storage) example: 36442. Then asks the user sub-loop guess this number 4 in the user every guess once, prompts the user to have a few numbers in the correct position. For example: The user enters 3724 (3 and 4 position correct), then prompts the user to have two numbers right (but not the specific tips which two numbers correctly, requiring users to make their own judgment). 3 Use LinkedList store user each guess is a digital portfolio. Before users can view their input example: 37245724 ...... 4 10th when the user guessed, there is no chance that prompts speculation fails.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zuoyelianxi1016/
zuoyelianxi1016/.classpath
zuoyelianxi1016/.project
zuoyelianxi1016/.settings/
zuoyelianxi1016/.settings/org.eclipse.jdt.core.prefs
zuoyelianxi1016/bin/
zuoyelianxi1016/bin/com/
zuoyelianxi1016/bin/com/shxt/
zuoyelianxi1016/bin/com/shxt/zuoye/
zuoyelianxi1016/bin/com/shxt/zuoye/lianxi/
zuoyelianxi1016/bin/com/shxt/zuoye/lianxi/BeganGame.class
zuoyelianxi1016/bin/com/shxt/zuoye/lianxi/SaveNumber.class
zuoyelianxi1016/src/
zuoyelianxi1016/src/com/
zuoyelianxi1016/src/com/shxt/
zuoyelianxi1016/src/com/shxt/zuoye/
zuoyelianxi1016/src/com/shxt/zuoye/lianxi/
zuoyelianxi1016/src/com/shxt/zuoye/lianxi/BeganGame.java
zuoyelianxi1016/src/com/shxt/zuoye/lianxi/SaveNumber.java
zuoyelianxi1016/.classpath
zuoyelianxi1016/.project
zuoyelianxi1016/.settings/
zuoyelianxi1016/.settings/org.eclipse.jdt.core.prefs
zuoyelianxi1016/bin/
zuoyelianxi1016/bin/com/
zuoyelianxi1016/bin/com/shxt/
zuoyelianxi1016/bin/com/shxt/zuoye/
zuoyelianxi1016/bin/com/shxt/zuoye/lianxi/
zuoyelianxi1016/bin/com/shxt/zuoye/lianxi/BeganGame.class
zuoyelianxi1016/bin/com/shxt/zuoye/lianxi/SaveNumber.class
zuoyelianxi1016/src/
zuoyelianxi1016/src/com/
zuoyelianxi1016/src/com/shxt/
zuoyelianxi1016/src/com/shxt/zuoye/
zuoyelianxi1016/src/com/shxt/zuoye/lianxi/
zuoyelianxi1016/src/com/shxt/zuoye/lianxi/BeganGame.java
zuoyelianxi1016/src/com/shxt/zuoye/lianxi/SaveNumber.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.