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 Customer’s Total net income Use the following data to test your program: Customer name: Joe B. Johnson Broker’s 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) Broker’s Name: John Broker Customer’s Name: Joe B. Johnson Company’s 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 Customer’s Total net income: $XXX.XX...
View Full Document
- Spring '07
- Computer Programming, TOTAL NET INCOME, John Broker Joe B. Johnson, Joe B. Johnson, Customer portfolio value