Question: Please help step by step and extra credit as well Another Sample Run ( using Scanner ) : Sample Run ( Extra Credit using Scanner

Please help step by step and extra credit as well
Another Sample Run (using Scanner): Sample Run (Extra Credit using Scanner):
Amount paid for stock: 255.20
Commission Amount: 5.10
Total Amount Paid 260.30
Another Sample Run (Extra Credit using Scanner):
Amount paid for stock: 32,510.00
Commission Amount: 487.65
Total Amount Paid 32,997.65
Another Sample Run (Extra Credit using Scanner):
Enter number of shares of stock purchased: 100??????? you may use JOptionPane for input andor output
Enter number of shares of stock purchased: 100 &entered by user
Enter stock price: 325.00 &entered by user
Enter Commission Percent: .02 &entered by user
Amount paid for stock: 32500.0
Commission Amount : 650.0
Total Amount Paid : 33150.0
^^ you may use JOptionPane for input and/or output
Please help step by step and extra credit as well

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!