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: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
The two main ways in which marketers address the competition with their strategies are by satisfying a need better than a competition and by
Answers: 2
question
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
You know the right answer?
Java Eclipse homework. I need help coding this Challenge 9B - Commission

Package: chall...
Questions
question
Mathematics, 30.07.2019 08:10
Questions on the website: 13722361