question archive 333 1) Stock Commission (required) Susan bought 750 shares of stock at a price of $35

333 1) Stock Commission (required) Susan bought 750 shares of stock at a price of $35

Subject:Computer SciencePrice:4.86 Bought8

333

1) Stock Commission (required)

Susan bought 750 shares of stock at a price of $35.00 per share. She must pay her stockbroker a 2 percent commission for the transaction. Write C++ 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)

Your program should ask the user to enter the number of shares and amount of the commission. Calculate and display the total amount paid.

 

Sample Output:

 

How many shares did you buy? 750

How much is each share? 35.00

Stock: $26250

Commission: $525

Total: $26775

750 shares of stock at a price of $35.00 per share, the total is 26775

Option 1

Low Cost Option
Download this past answer in few clicks

4.86 USD

PURCHASE SOLUTION

Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

rated 5 stars

Purchased 8 times

Completion Status 100%