python , Programming Languages

Python Programming hmw help!!
Write a program that ask the user to input the followings: number of shares, stock price, and broker commission.
Last month jim purchased some stock from ACME softwarre inc: jim purchased 1000 shares of stock, he paid 32.92 per share, the selling price is 33.92, he paid his broker another commission of 2% of the amount he received for stocks.
Display the following paid for stock:
amount jim paid for the stock,
amount commision jim paid his broker when stock was bought,
the amount the stock was sold for, the amount of commission for the broker when the stock was sold, and the amount of money jim was left when he sold the stock and paid his broker (both times) If positive, profit. If negative, the loss.
Posted Date: 5/14/2012 6:07:08 PM | Location : United States







Related Discussions:- python , Assignment Help, Ask Question on python , Get Answer, Expert's Help, python Discussions

Write discussion on python
Your posts are moderated
Related Questions

How to create an ER diagram?

1. You are working as a designer for a university that offers a program in Computer Science. One of the tracts is computer security. One of your colleagues has recommended adding a

You are to design and create a new class called SelectCallDataDialog, which opens by clicking browse  buttons for selection of ringtones,  vibrations or leds. Depending on which th

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

How do you get the complexity of an algorithm? What is the relation b/w the time & space complexities of an algorithm? Justify your answer with an example.

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

1. Write a shell script to locate executable files. This script takes a list of file names from the command line and determines which would be executed had these names been given a

Consider the following LP problem: min x 1 +3 x2 +x 3 -x 4 s.t. x 1 +x 2 +x 3 +x 4 ≥ 0 x 1 +x 2 -x 3 -x 4 ≥ 1 x 2 , x 3 ≥ 0 x 1 , x 4 ≤ 0. 1. Unique pr

can you provide some assignments for JSP learning