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
Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

What is an algorithm? What are the characteristics of a good algorithm? An algorithm is defined as “a step-by-step procedure of accomplishing some task'''' An algorithm may be sh

You are to build a Schema in XML Schema Language that will be used to support the development of the new central course information management system and other supporting applicati

Consider the operation of a line of supermarket checkouts and the profiles of customers and their shopping baskets. Use a random number generator to create the data for these profi

Padovan String Problem Description A Padovan string P(n) for a natural number n is defined as: P(0) = 'X' P(1) = 'Y' P(2) = 'Z' P(n) = P(n-2) + P(n-3), n

Question 1 Explain the history of Internet Question 2 What are the advantages of DHTML? Question 3 Explain the concept of DOM Question 4 How does AJAX work

Redundant sequence identification: Given a set of k DNA sequences, S = { s 1, s 2, ... ,  s k } give an optimal algorithm to identify all sequences that are completely contained

Question 1 What is CISC & RISC? Explain their addressing modes Question 2 Discuss the following- Design Specification of Assembler Design of Single Pass Assembler

All programs have to be done in console application. Program 1, 2 and 3 are due on 2/11/12 Program 4, 5, and 6 are due on 2/18/12 Program 7, 8, and 9 are due on 2/25/12 Program 10

1-Create ir3.py based on ir2.py 2-Repeatedly prompt the user for a query (if they enter "q", then quit) 3-Find the terms in the query, and calculate the appropriate weight fo