Question: Part 3a: Create a Java class named YourName3a so mine would be Your program will compute monthly commissions for a company sales department. company pays
Part 3a: Create a Java class named YourName3a so mine would be Your program will compute monthly commissions for a company sales department. company pays their sales force a base monthly salary of $2,000.00 in addition to a commission. The table below illustrates their commission rates: The Sales Amount $0 $1,000.00- $5,000.00 5,000.01- $10,000.00 $10,000.01 and above Commission Rate 0 percent 3 percent 6 percent 9 percent Along with base pay and commission, each month sales staff can be given a bronze, silver, or gold star next to their profile for exceptional performance. Sales employees can be awarded multiple stars. Assume the minimum sales amount (besides zero) is $1,000.00. If an employee sells $4,000 or greater in merchandise, they are awarded a bronze star. If an employee sells $8,000 or greater in merchandise they are awarded a bronze and silver star. If they sell an amount greater than or equal to $12,000 they are awarded a bronze, silver, and gold star. Prompt the user for the sales amount and compute the commission. Display as output the sales commission and total payment, and which star(s) they earn (if any). See the example below. Here is an example of the output: jGRASP exec: java Enter the sales amount: 14000.0 Sales commission was: $1260.0 Total pay is: $3260.0 You've gained a bronze star! You've gained a silver starl You've gained a gold star jGRASP exec: java , Enter the sales amount: 7000.0 Sales commission was: $420.0 Total pay is: $2420.0 You've gained a bronze star! jGRASP: operation complete. jGRASP: operation complete
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
