Question
Given a file with stock ticker symbols, for example: GOOG MSFT ORCL AMZN INTC write a console program (Java) that will print the following: A
Given a file with stock ticker symbols, for example:
GOOG MSFT ORCL AMZN INTC
write a console program (Java) that will print the following: A table of ticker symbols and prices, sorted on the ticker symbol. After the table print the ticker with the highest price. Also, print the ticker with the lowest price.
At the bottom of the program output, under an error section, if there is an error getting the price for a ticker symbol, for whatever reason, then list the ticker symbol.
The service at the location http://agile.cs.uh.edu/stock may be used for getting the stock price. For example,
http://agile.cs.uh.edu/stock?ticker=GOOG will return a price for GOOG
Please note, much like the stock market price is unpredictable, the price returned by the service is.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started