/product-price-problem

Consumes CSV to generate cheapest or expensive products list based on price per unit.

Primary LanguageJava

# Product List Generator (EB)

Dependencies and Guide
-----------------------

Language:       Program coded in JAVA.

Environment:    Developed in JRE 1.7 using Eclipse Tool.

Libraries:      1. Apache commons csv to read csv file in an optimised way.
                2. Apache commons collections to perform operations (get min and max) with HashMaps.
                
How to Run:     1. Import the solution folder into any JAVA IDE (Eclipse used here)
                2. Added the required referenced libraries to the #bin folder.
                3. Put the CSV file on which the operations are to be performed in #resources folder with name #products.csv.
                4. Main function is in #PriceListGenerator.java in the package #productListGenerator.

Execute that to get the three lists as required.