Question: write a java program: kathryn bought 6 0 0 shares of stock at a price of $ 2 1 . 7 7 per share. She

write a java program:
kathryn bought 600 shares of stock at a price of $21.77 per share. She must pay her stockbroker a 2 percent commission for the transaction. Write a program that calculates and displays the following:
The amount paid for the stock alone (without the commission)
The amount of the commission
The total amount paid (for the stock plus the commission) program:
expected output:
Stock cost: $13062.0
Commission: $261.24
Total: $13323.24
write a java program: kathryn bought 6 0 0 shares

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!