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

THERE IS ANY1 COULD HELP ME WITH NETLOGO WORK

Suppose L is a context-free language and L' is regular. Show that L∩ L' is a context- free language. Specifically, if you're given a PDA diagram of L and a DFA diagram for L' , des

Write a program to use a robot to move the stack of blocks from a source location to a target location, based. Movement of robot arms, picking and dropping, can be controlled usi

Draw the sequence diagram for the following scenario of eBroker. Sell Stock The user enters the username and password The system checks that the user is a valid user

Define a Prolog predicate flatten(List, FlattenedList) that asserts List is any nested list of atoms and FlattenedList is the same list with the nesting removed. The atom [] should

n2=2:100; t=3; while t { g3(t)=(1/2)*(0.63)*(0.8.^(n2)); t=t+1; } g3(1)=0; g3(2)=0; what is wrong with the code above? it tells me that line: g3(t)=(1/2)

program take integer from user and print in alphabets


SailDublin Ferry provides ferries to mainland Britain, Europe and America. Having observed the success of Irish ferries and Stennaline online booking system; SailDublin ferry has d