This preview shows page 1. Sign up to view the full content.
Unformatted text preview: formatted: Name of customer, broker and company Total number of stocks owned Total number of stock sold Current price of each share Total Sale Amount (bought and sold) Broker Commission at 1.5% Customer portfolio value Customers Total net income Use the following data to test your program: Customer name: Joe B. Johnson Brokers name: John Broker Name of Company: ABC Gadget Co. Number of shares bought: 2000 Price per share: $39.56 Sample Output format: (X is replaced with the actual values) Brokers Name: John Broker Customers Name: Joe B. Johnson Companys Name: ABC Gadget Co. Total number of stocks owned: XXXXXX Total number of stock sold: XXXXXX Current price of each share: $XXX.XX Total Sale Amount (bought and sold): $XXXXX.XX Broker Commission at 1.5%: $XXX.XX Customer portfolio value: $XXXX.XX Customers Total net income: $XXX.XX...
View Full Document
This note was uploaded on 02/14/2011 for the course CSCI 101L taught by Professor Ghyam during the Spring '07 term at USC.
- Spring '07
- Computer Programming