Basic requirements:
Write your code in
Java.
Program should run from command line.
There is no need to develop any GUI components, unless you think we will be impressed by it.
Problem
Write a program to find best deal on a product in a shopping mall. Shops carry different products at different prices.
Main Requirements:
1. Mall data should be defined and read from an xml/flat file.
2. Allow entering product name on command line to find the best deal.
3. Print the store name, product name, and the price as a result on the console.
4. Program should continue with a prompt for the next product name. Word END should end the program.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here is the answer