Question: make this code please BONUS (highly recommend) (+15): A. STOCK COMMISSION: i. Declare fName and Iname string variables that holds a first and last name.

 make this code please BONUS (highly recommend) (+15): A. STOCK COMMISSION:

make this code please

BONUS (highly recommend) (+15): A. STOCK COMMISSION: i. Declare fName and Iname string variables that holds a first and last name. ii. Declare a sharesOfStock int variable that holds a value of 1000 iii. Declare a pricePerShare double variable that holds a value of 35.00 iv. Declare a commissionRate double variable that holds .02 (which is 2%) v. Description: Assume that the person listed in the fName and IName variables purchased the amount of stock stored in sharesOfStock at the price stored in pricePerShare. She must pay a stockbroker the commissionRate percentage for the transaction. Write a program that calculates and displays: 1. The amount paid for the stock alone (without commission) 2. The amount of commission 3. The total amount paid for the stock, including the commission 4. Make sure and use appropriate labels

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 Databases Questions!