Need help firguring this out in Raptor everything is working with texception of
ID: 3563809 • Letter: N
Question
Need help firguring this out in Raptor everything is working with texception of the Commission
Last month Mary purchased some stock in Widget Software Co. She bought 1000 shares at $32.87 a
share. She paid her broker a commission of 2% of the amount she paid for the stock she purchased.
Two weeks later she sold her stock. She sold all 1000 shares for $33.92 a share. She paid her stock
broker a 2% commission for amount she received for the sale.
Write a program that displays the following information:
The amount of money Mary paid for the stock.
The amount of commission Mary paid her broker when she bought the stock.
The amount of money Mary sold the stock for.
The amount of commission Mary paid her broker when the stock
Explanation / Answer
a) 1000 * 32.87 $ = 32870 $
b) 2% of 32870 = 657.4 $
c)1000*33.92 $ = 33920 $
d)2% of 33920 = 678.4 $
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.