Computers and Technology

Jane wants to buy a number of shares of stock for investment She must pay her stockbroker a 6% commission if the number of shares is less than 100,4\% less than 200 , and 2\% if more than 200. Write a program to prompt the number of shares Jane wants to buy and the price per share . Based on the entries, calculate and display 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 ) NOTE: All amounts should be displayed in U. S. currency with 2 decimal places (e. g.$123.45). Also , use constant variables to store the different commission percentages and the limits of each commission bracket (the values 100 and 200 above). Lastly, check for entry errors (non-numeric entries for the number of shares and stock price per share) and if found, ask the user to re-enter the values.(python language)

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:30, keke6361
When using a public computer or network, you should always
Answers: 2
image
Computers and Technology, 22.06.2019 22:50, cheyennecarrillo14
Which is the best minecraft server? a. mineplex b. worldonecraft c. 9b9t d. 2b2t
Answers: 2
image
Computers and Technology, 23.06.2019 03:30, natalie2sheffield
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
image
Computers and Technology, 23.06.2019 19:30, Felixthecat7186
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a, b] se pot scrie ca produs de două numere prime? “.
Answers: 3
Do you know the correct answer?
Jane wants to buy a number of shares of stock for investment She must pay her stockbroker a 6% commi...

Questions in other subjects:

Konu
History, 29.01.2020 05:13
Konu
Physics, 29.01.2020 05:13
Konu
Physics, 29.01.2020 05:13