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
Create a Money data structure that is made up of amount and currency.  (a) Write a constructor for this data structure   (b)  Create accessors for this data structure (c)

A manager at the local Walmart needs to determine how many workers to hire to cover a 24-hour period. Each worker must work 9 consecutive hours but may only start work at the begin

The program output is intended to be parsed by a script working on the log file or correlated in a spreadsheet.  Use the "csv" format (you will have to research "what" is a "csv" f

How does a program provide "input" to one of its functions?

Define Functions with no arguments and no return values? When a function has no arguments it doesn't receive any data from the calling function. Likewise, it doesn't return any

What is .NET TECHNOLOGY? .NET technological innovation was presented by Enthusiasm, to get the industry from the SUN's Coffee. Few in the past, Enthusiasm had only VC++ and VB

On a single XHTML page, include the following two div container elements in the body. Using an external stylesheet, add style to the div elements such that one div has some overlap

creating system flowchart for website

Write a program to draw the truck following figure. The program should buttons to provide When the truck runs left wheels must rotate in the correct direction. Rotating whe

For the following Code answer the following questions-: .STACK 100H .DATA COUNT DB 10 TOTAL DW 4126H .CODE MAIN PROC MOV BX, 3F20H MOV AL, BL MOV BL, COUNT MOV