Create the StockTask1 Java project
Set a new current price to90. Display the symbol and name of the company, the previous and current prices and price-change percentage.
Example of output:
Stock symbol: SUMW
Stock name: Sun Microsystems Inc.
Previous Closing Price: 100.0
Current price: 90.0
Price change: -10.0%
Add code to create anotherStock object with the stock symbolORCL, the nameOracle Corporation/
Stock symbol: ORCL
Stock name: Oracle Corporation
Previous Closing Price: 34.5
Current Price: 38.75
Price Change: 12.32%
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here