Question: for our class R - squared can be treated as a Please do with Python Program Set 3 (10 Points Stock Transaction Program Last month

for our class R - squared can be treated as a
 for our class R - squared can be treated as a
Please do with Python Program Set 3 (10 Points Stock Transaction Program
Please do with Python

Program Set 3 (10 Points Stock Transaction Program Last month Kool Doode purchased some stock from Kaplack, Inc. Write a program that ask the user to input the followings: Number of shares Kool Doode bought Stock purchase price Stock selling price Broker commission 1. 2. 3. 4. displays the following paid for the stock. 1. The amount of money Kool Doode paid for the stock (number of shares bought purchase price) 2. The amount of commission Kool Doode paid his broker when he bought the stock. (Amount he paid for 3. The amount that Kool Doode sold the stock for. (number of shares selling price) stocks commission in percent) The amount of commission Kool Doode paid his broker when he sold the stock. (Amount he sold shares commission in percent) Display the amount of money Kool Doode had left when he sold the stock and paid his broker (both times). If this amount is positive, then Kool Doode made a profit. If the amount is negative, then Kool Doode lost money Profitloss (amount for sold stocks- commission) - (amount paid to buy stocks+commission) 4. 5. This is how the display or printout should look like: These are the input you see when you run your program. User input data after the colon: Enter Stock name Kaplack, Inc Enter Number of shares: 10000 Enter Purchase price : 33.92 Enter selling price: 35.92 Enter Commission:0.04

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!