Question: JAVA CODING In February 2020, Caleb purchased some stock in Moderna , Inc. Here are the details of the purchase: - The number of shares
JAVA CODING

In February 2020, Caleb purchased some stock in Moderna , Inc. Here are the details of the purchase: - The number of shares that Caleb purchased was 500. When Caleb purchased the stock, he paid $20 per share. Three months later Caleb sold his stocks to Karen. Here are the details of the sale: - The number of shares that Caleb sold was 500. - He sold the stock for $76 per share. With the amount of profit that Caleb made he purchased some stock of Netflix, Inc. Here are the details of the purchase: - He used all his profit money to purchase the number of shares - When Caleb decided to purchase the stock, the amount per share was $400 After Karen purchased the stocks from Caleb, she decided to wait until Moderna submit the covid-19 vaccine. Around January 2021, she decided to sell her stocks. Here are the details of the sale: - The number of shares that Karen sold was 500. - She sold the stock for $156 per share. - She paid his stockbroker another commission that amounted to 3% of the amount he received for the stock. Meanwhile, Caleb also sold his stocks. Here are the details of the sale: - He sold all of the shares. - He sold the stock for $520 per share. They both use the same broker and paid %6 percent of their profits to the broker. Write a program that displays the following information: - The amount of money Caleb paid for Moderna, Inc the stock. - The amount that Caleb sold the stock for - The amount of profit that Caleb made after selling his stock to Karen - The number of shares that Caleb purchased in Netflix, Inc. - The amount that Karen sold the stock for - The amount of profit that Karen made after selling her Moderna stock. - The The amount of profit that Caleb made after selling his Netflix stock. - The person's name who made the most profit. - The amount of money that the broker made. - The amount of profit that Caleb would make if he didn't sell his Moderna , Inc stock, and waited until around Jan 21. Grading criteria include good documentation, descriptive variable names, and adherence to the coding convention noted on pages 1 & 2 Your file will have the following documentation header: **** /*** @Title: @Purpose: Author: @Date: Version: *** LastNameFirstNameStockProfit To get familiar with simple comparisons in Java (your last first name) (today's date) 1.0 *************/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
