Question: java is the programming language the output can be in whatever format Stock Problem Instructions: User input is not required for this lab (output only).
Stock Problem Instructions: User input is not required for this lab (output only). Enter the number of stocks each client purchased or sold. The purchase price for each stock is 31.77 per share, and the selling price is $40.25 per share. Display if each client below had a loss or a Gain. Note: assume each client account balance starts at "0". 1. Display the title "Stocks." 2. Display the amount paid for the stocks. 3. Display the amount received from selling the stock if the clients sold any stocks. 4. Display if the clients had a loss or Gain. Stocks purchased Client #1: Jack Smith = 5 Client #2: Janet Jackson =12 Client #3: Mark Smith =25 Client #4: Mickey Mouse - 45 Client #5: Donald Duck = 34 Client #6: Sam Adams = 23 sold =20 sold 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
