subject

Java Eclipse homework. I need help coding this Challenge 9B - Commission

Package: chall9B
Class: Commission

Write the entire Java application to satisfy the following requirements:

The pay for a salesman working for a company that sells trucks is based upon a commission. The rate of this commission depends upon his sales success during a month. In other words, his commission rate depends upon the total dollar amount of sales for that month. The scale goes like this:

For each car the sales person gets a $500 dollar commission and for each truck they get $700. If they sell more vehicles they get bonuses based on the chart below.

(For example if a rep sold 6 cars they would get 6*$500 = $3000 + 7.5% Commission = $3,225)

Ask the user for their name and the number of car and truck sales for the month. Use the ‘if’, ‘else if’, ‘else’ structure to calculate the total pay for the employee based upon the trucks sold and bonus structure. Print out the total gross paycheck in an appropriate print statement.

Use DecimalFormat to set the number to print showing 2 decimals.

Enter the following information for a sales rep and record (snip) the output of the console. Include this in the comments so I can check if your program works.

Sales Rep: Bruce Banner sold 4 Cars and 6 Trucks.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
You know the right answer?
Java Eclipse homework. I need help coding this Challenge 9B - Commission

Package: chall...
Questions
question
Chemistry, 17.03.2021 23:40
question
Chemistry, 17.03.2021 23:40
question
Mathematics, 17.03.2021 23:40
Questions on the website: 13722359