Need some work done? Post a Project Today
Described below is a simple programming exercise. You should solve it completely and send the code, usage notes/documentation and tests.
Write the code in Java. All programs should run from command line. There is no need to develop any GUI components.
Write a program to process a file containing stock price information.
User should get a prompt to enter an input.
The input will be of the form: \[Symbol\] \[index\]. The first argument is mandatory, and the second is optional.
The console will display the appropriate Execution Price and Time, given the inputs.
If no [index] is provided, the console will display the latest Execution Price and Time, for the provided Symbol.
If an integer is provided as [index], the console will display the appropriate Execution Price and Time, for the provided Symbol, where '1' is the earliest time, '2' is the next time, etc.
Program should continue with a prompt for the next input. Word 'END' should end the program.
I'll send over the sample data to be used to the freelancer chosen.