Question: Problem Description: Use the Java techniques to write an application program for the following Last month, AEN Software Company sold stock/shares to the general public


Problem Description: Use the Java techniques to write an application program for the following Last month, AEN Software Company sold stock/shares to the general public at the rate of $24.89 per share. Each buyer had to pay the stockbroker a 2 percent (2%) commission for the transaction. Write a program that asks the name of the buyer and the number of shares bought. Your program must then calculate and display the following: a) The amount paid for buying the stock (without the commission) b) The amount of the commission c) The total amount paid (for the stock plus the commission) Input(s) Name The number of shares bought (S). Output(s) Amount paid for buying the stock (S) Amount paid for the commission (S) Total amount ($)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
