You have just started a sales job in a store. Your pay consists of a base salary and a commission. The base salary is $5000. The scheme shown below is used to determine the commission rate.

Java Programming I
LAB #5 – Loops
40 Points
You have just started a sales job in a store. Your pay consists of a base salary and a commission. The base salary is $5000. The scheme shown below is used to determine the commission rate.
Sales Amount
Commission Rate
$0.01-$5000
8%
$5000.01 – $10000
10%
$10000.01 +
12%
NOTE: this a graduated rate. The rate for the first $5000 is at 8%, the next $5000 is 10% and the rest is 12%. If the sales amount is $25000, the commission is 5000 *.08 + 5000 *.10 + 15000*.12 = $2700.
Write a program that finds out the minimum sales you have to generate in order to make the commission goal.
Use either a FOR or DO-While.
Execute the program and take screen capture of output.
Submit screen capture and .java file via blackboard

Leave a comment

Your email address will not be published. Required fields are marked *