- magento-1.3.2.4 基于ADI公司加速度传感器的计步器算法
- at24c512 用atmega48对大容量的EEPROM芯片的读写
- MATLAB_qua They are the programs of uniform quantization and non
- VHDL-Cookbook VHDL is a language for describing digital electronic systems. It arose out of the United States Government’s Very High Speed Integrated Circuits (VHSIC) program
- robust-broadband-beamforming 研究了一种改进型的最小方差波束形成器
- MultiThreadDownload 迅雷
文件名称:fivenumbersguess
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:288.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
使用C++、Java等面向对象语言实现五位数字猜谜游戏,读入将用户输入的数字后与随机抽取的数字比对,并给出判定结果的表示.
(2). 电脑会将用户提交的数与它自动产生的数进行比较,结果显示成"*Y*N"。Y代表位置正确数字也正确,N代表数字正确但位置不正确,比如:"3Y1N"表示有3个数字的位置正确且数值也正确,除此以外,还猜对了1个数字,但位置不对。共有9次机会,在9次内,如果结果为“5Y0N”,游戏成功。如果9次里都没有猜对游戏失败。-Use C++, Java and other object-oriented language guessing game five numbers, read the number the user input the number of randomly selected after the comparison, and gives the results of that decision. (2). Computer users will be presented It is automatically generated by numbers and compare the number of results displayed as " * Y* N" . Y position of the correct figures are correct on behalf of, N represents a number correctly but not positioned properly, such as: " 3Y1N" that has 3 digits in the correct position and the value is also correct that, you guessed it a number, but the location does not . 9 chances in the 9th, if the result is " 5Y0N" , the game successfully. If you have not guessed 9 times in the game failed.
(2). 电脑会将用户提交的数与它自动产生的数进行比较,结果显示成"*Y*N"。Y代表位置正确数字也正确,N代表数字正确但位置不正确,比如:"3Y1N"表示有3个数字的位置正确且数值也正确,除此以外,还猜对了1个数字,但位置不对。共有9次机会,在9次内,如果结果为“5Y0N”,游戏成功。如果9次里都没有猜对游戏失败。-Use C++, Java and other object-oriented language guessing game five numbers, read the number the user input the number of randomly selected after the comparison, and gives the results of that decision. (2). Computer users will be presented It is automatically generated by numbers and compare the number of results displayed as " * Y* N" . Y position of the correct figures are correct on behalf of, N represents a number correctly but not positioned properly, such as: " 3Y1N" that has 3 digits in the correct position and the value is also correct that, you guessed it a number, but the location does not . 9 chances in the 9th, if the result is " 5Y0N" , the game successfully. If you have not guessed 9 times in the game failed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
课程设计报告1.doc
课程设计报告2.doc
原始测试数据.txt
src/data.txt
src/Debug/suijishu.obj
src/Debug/vc60.idb
src/Debug/vc60.pdb
src/Debug/zhuangxiaosu.exe
src/Debug/zhuangxiaosu.ilk
src/Debug/zhuangxiaosu.obj
src/Debug/zhuangxiaosu.pch
src/Debug/zhuangxiaosu.pdb
src/zhuangxiaosu.c
src/zhuangxiaosu.dsp
src/zhuangxiaosu.dsw
src/zhuangxiaosu.ncb
src/zhuangxiaosu.opt
src/zhuangxiaosu.plg
src/注意事项.txt
07005731.exe.exe
src/Debug
src
课程设计报告2.doc
原始测试数据.txt
src/data.txt
src/Debug/suijishu.obj
src/Debug/vc60.idb
src/Debug/vc60.pdb
src/Debug/zhuangxiaosu.exe
src/Debug/zhuangxiaosu.ilk
src/Debug/zhuangxiaosu.obj
src/Debug/zhuangxiaosu.pch
src/Debug/zhuangxiaosu.pdb
src/zhuangxiaosu.c
src/zhuangxiaosu.dsp
src/zhuangxiaosu.dsw
src/zhuangxiaosu.ncb
src/zhuangxiaosu.opt
src/zhuangxiaosu.plg
src/注意事项.txt
07005731.exe.exe
src/Debug
src
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.