登录
首页 » 其他项目 » c语言做的猜数字游戏,这个游戏的规则比较简单,一般两个人玩,一方出数字,一方猜。出数字的人要想好一个没有重复数字的4位数,不能让猜得人知道。猜的人就可以开始猜。...

c语言做的猜数字游戏,这个游戏的规则比较简单,一般两个人玩,一方出数字,一方猜。出数字的人要想好一个没有重复数字的4位数,不能让猜得人知道。猜的人就可以开始猜。...

于 2022-12-26 发布 文件大小:1.48 kB
0 66
下载积分: 2 下载次数: 1

代码说明:

c语言做的猜数字游戏,这个游戏的规则比较简单,一般两个人玩,一方出数字,一方猜。出数字的人要想好一个没有重复数字的4位数,不能让猜得人知道。猜的人就可以开始猜。每猜一个数字,出数者就要根据这个数字给出几A几B,其中A前面的数字表示位置正确的数的个数,而B前的数字表示数字正确而位置不对的数的个数。 -c language to number guessing game, the rules of the game is relatively simple, general two people to play, one out of numbers, one guess. To a good number of people out of a 4-digit number does not repeat not be allowed to guess one knows. Guess people can start guessing. Each guess a number, a number of those who should according to this figure gives a few A few B, where A numerical position in front of the number of correct number, while the B before the numbers indicate the number of correct and incorrect number of locations the number of .

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103938会员总数
  • 55今日下载