The program generates all possible combinations of prices that adds up to the total input price. The number of combination is given to the program as a second parameter. To compile : javac -cp javax.json-1.0.4.jar parser.java To run from command line : .:javax.json-1.0.4.jar parser price pieces (price is the total price and pieces is number of items to buy)
- parser.java : main class
- javax.json : .jar library used in the main class
- Doc : contains javadocs