文件名称:the-game
- 所属分类:
- JSP源码/Java
- 资源属性:
- [WORD]
- 上传时间:
- 2014-04-06
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 倪*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
共有1幅扑克牌,不包括大王和小王共52张牌。
可能有n个人参与扑克游戏,2<=n<=6。
程序运行时输入n,然后52张牌分别依次分发给n个人。不能整除时,每个人的牌数可以不同,如3个人,则第1个人18张,第2个和第3个人17张牌。
发牌完成后按花色(顺序为黑桃、红心、草花、方块)和牌面大小输出每个人得到的牌。-There are a poker, not including the king and Wang were 52 cards. N individuals may participate in poker games, 2 < = n < = 6. Enter n runs, then 52 cards are in turn distributed to n individuals. When not divisible, each person can vary the number of cards, such as three individuals, the first 1 person 18, Section 2 and 3 of the 17 individual cards. After the completion of the licensing by color (the order of spades, hearts, flowers, boxes) and the output of each card size people get cards.
可能有n个人参与扑克游戏,2<=n<=6。
程序运行时输入n,然后52张牌分别依次分发给n个人。不能整除时,每个人的牌数可以不同,如3个人,则第1个人18张,第2个和第3个人17张牌。
发牌完成后按花色(顺序为黑桃、红心、草花、方块)和牌面大小输出每个人得到的牌。-There are a poker, not including the king and Wang were 52 cards. N individuals may participate in poker games, 2 < = n < = 6. Enter n runs, then 52 cards are in turn distributed to n individuals. When not divisible, each person can vary the number of cards, such as three individuals, the first 1 person 18, Section 2 and 3 of the 17 individual cards. After the completion of the licensing by color (the order of spades, hearts, flowers, boxes) and the output of each card size people get cards.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
the game.doc