code for a calculation program

eliblack

New member
Joined
May 28, 2009
Messages
2
Programming Experience
Beginner
I need code for a program the does this using visual studio 2008:
allow the user to enter a stock transaction and determine the stockbroker's commission. Each transaction includes the following data: the stock name, price per share, number of shares involved, and the stock broker's name. Assume price per share = P. The stockbroker's commission is computed in the following manner: If the P (price per share) is less than or equal to $50, the commission rate is $0.19 per share, if P is greater than $50, the commission rate is $0.26 per share. If the number of shares sold is less than 150, the commission is 1.5 times the rate per share. Display the results in a message box, including the total commission earned.
Any help will be great! thanks!
 
First up, please post in the most appropriate forum for the topic of the thread, not just the first one you come to. Moved.

As for the question, no-one's going to do your homework for.Show us what you've done so far, tell us how you think you need to proceed and ask us specific questions and we will be glad to help you write the code for yourself, but just posting your assignment spec and asking us to provide the code isn't going to get anyone anywhere.
 
Back
Top