Visit www.myprogramminglab.com to complete this Programming Challenge online and get instant feedback.
Stock Commission
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)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here