Question: In this assignment, you will write a program that computes the net profit / loss from a sale of stock. The program will ask the
In this assignment, you will write a program that computes the net profitloss from a sale of stock. The program will ask the user for information related to the transaction, including the value of the stock when purchased and when sold, the commission cost for buyingselling of stock, and how much stock was bought. The program should then output a transaction log which displays the information related to the buyingselling of the stock. The program should use string formatting as discussed in Slide Set to output the transaction log
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
