找回密码
 立即注册
thejava自创to | 百货/超市行业 2022-09-22 135 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
来历版块:Java
压缩包内文件格式:文本内容
附件来历:自创
运行平台:Windows平台
是否经自己验证:是
附件性质:免费
详细说明:本来发在JAVA区,才看到这有一个源代码区,转过来吧。
这篇文章为自创,转载请注明出处。
步行天下(hiker2008.blog.cto)
初学java,编写了一个计算24点游戏的程序,希望得到各位大侠的指导,共同提升。
小时候用扑克玩,现在懒了,改用计算机算,呵呵。
运行方法:javaCal24abcd
其中abcd为4个1-9的自然数。
输出为通过加减乘除运算后等24的算式及个数。
算法不杂乱,就不写出来。
详细可以看程序,重要的当地我都加注释了。

(Origin section: Java
Compressed file format: text content
Attachment source: self-created
Operating platform: Windows platform
Is it verified by yourself: yes
Attachment nature: free
Detailed description: Originally posted in the JAVA area, only to see that there is a source code area, turn it over.
This article is self-created, please indicate the source when reprinting.
Walking the world (hiker2008.blog.cto)
Beginning to learn java, I wrote a program to calculate the 24-point game. I hope to get the guidance of all heroes to improve together.
I used to play poker when I was a kid, but now I'm lazy and use a computer to calculate, huh, huh.
Run method: javaCal24abcd
where abcd is 4 natural numbers from 1 to 9.
The output is the formula and the number of 24 after addition, subtraction, multiplication and division.
If the algorithm is not messy, it will not be written.
For details, you can see the program, and I have added notes to the important places.)

[下载]21420673129.rar




上一篇:[原创]使用java编写计算24点游戏程序(附java源代码)
下一篇:oa系统 源码