Computers and Technology, 09.09.2019 18:30 101EXPERIENCE
You decide to buy some stocks for a certain price and then sell them at another price. write a program that determines whether or not the transaction was profitable. here are the details: • take three separate inputs: the number of shares, the purchase price of the stocks, and the sale price, in that order. • you purchase the number of stocks determined by the input. • when you purchase the stocks, you pay the price determined by the input. • you pay your stockbroker a commission of 3 percent on the amount paid for the stocks. • later, you sell the all of the stocks for the price determined by the input. • you pay your stockbroker another commission of 3 percent on the amount you received for the stock. your program should calculate your net gain or loss during this transaction and print it in the following format: if your transaction was profitable (or if there was a net gain/loss of 0) print: "after the transaction, you made 300 dollars." (if, for example, you gained 300 dollars during the transaction.) if your transaction was not profitable, print: "after the transaction, you lost 300 dollars." (if, for example, you lost 300 dollars during the transaction.) use string formatting.
Answers: 1
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
Computers and Technology, 23.06.2019 07:00
What are three software programs for mobile computing?
Answers: 1
You decide to buy some stocks for a certain price and then sell them at another price. write a progr...
Mathematics, 28.01.2020 04:31
Chemistry, 28.01.2020 04:31
Arts, 28.01.2020 04:31
Mathematics, 28.01.2020 04:31
History, 28.01.2020 04:31
Mathematics, 28.01.2020 04:31
Computers and Technology, 28.01.2020 04:31
Geography, 28.01.2020 04:31
Physics, 28.01.2020 04:31
Business, 28.01.2020 04:31
Chemistry, 28.01.2020 04:31
History, 28.01.2020 04:31
History, 28.01.2020 04:31