I have a text file with the following two lines:
AAPL 101.50
MSFT 42.50
The text file will change with different tickers and prices so the text file is not constant. My question is, how can I pull just the ticker and then the price separate.
My program will have someone enter the ticker name and it should output the price. Furthermore, if someone enters a price and the price the user entered is less than a ticker price then it will show all the tickers with greater.
I am looking for info and some help on this since I'm new to Java. It is for a school assignment.
Thanks