This project is build with gradle. You can either import it into a Java IDE or run from command line as follows:
- Install gradle(https://gradle.org/install/)
- In terminal, type
gradle build
- In terminal, type
cd build/classes/java/main
- In terminal, type
java Run PriceBasket
followed by space-separated items, e.g.java Run PriceBasket Apples Bread Milk
Note that any items other than Apples, Bread, Milk and Soup will be ignored.