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)
No comments:
Post a Comment