- Category:
- CSharp
- Tags:
-
[C/C++]
[源码]
- File Size:
- 1kb
- Update:
- 2014-05-10
- Downloads:
- 0 Times
- Uploaded by:
- 凌心悦
Description: Design a guessing game, rules of the game are as follows: 1, the game starts, the computer randomly generates three non-repeating digits ten less. 2, players enter the three numbers he speculated 3, players will count filed with the computer-generated comparison, the results displayed as " * A* B" . A representative of the position of the correct figure is correct, B represents the number correct but the location is not correct, such as: " 2A0B" means you have two numbers in the correct position and the value is correct, in addition, you guessed 0 figures, but wrong place. 4, a total of seven players the opportunity, within seven times, if the result is " 3A0B" , the game successfully, quit the game. If the players are not seven times in the game failed to guess.
To Search:
File list (Check if you may need any files):
main.cpp