Question: Please name your source file: PC2_17.CPP Kathryn bought 750 shares of stock at a price of $35.00 per share. She must pay her stockbroker a

Please name your source file: PC2_17.CPP Kathryn 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 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). Using no test data:

Your output should look like this: Stock: $26250 Commission: $525 Total: $26775

This is C++ and use visual studio 2017 please.

Use blank lines to separate the major parts of your main function.

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 Databases Questions!