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
I want to set up automatic Amazon login

Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different s

NOTE: You will only submit the University.java and EmptyFileException.java files (inside P3.zip/tar) NOTE on null objects:. From Project 1: Since the array of students in the Cou

Explain the Do - While Statement - Computer Programming? A do - while loop is an exit controlled loop and the body of the loop gets executed at least once if the condition is n

What is Data Normalization and Schema Refinement? Define briefly..

On-line fair and ethical share trading system (Olfest) A system is required that allows on-line customers to buy and sell stock market shares in a selection of companies. B

The standard way for debuggers to plant interactive breakpoints in a program in RAM (whatever the processor instruction set) is to save the break pointed instruction and replace it

This is what I have so far def root_brent(f, a, b, errorlimit = tinyerror, n = -1, r_i = 0): # f(a) and f(b) must have opposite signs poly = remove_multiple_roots(poly) counter

,how to write matlab program for fast decoupled method

What is the switch Statement? This is a different form of the multi way decision that It is well structured, but can only be used in certain cases where: 1. Here, Only one var