(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.)