Computers and Technology

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:20, alcantar28eduin
Print "usernum1 is negative." if usernum1 is less than 0. end with newline. convert usernum2 to 0 if usernum2 is greater than 10. otherwise, print "usernum2 is less than or equal to 10.". end with newline
Answers: 3
image
Computers and Technology, 22.06.2019 18:00, jabezslade22
What is the first view you place in your drawing?
Answers: 1
image
Computers and Technology, 22.06.2019 21:30, Tcareyoliver
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
image
Computers and Technology, 23.06.2019 19:30, sallybob0
What are loans to a company or government for a set amount of time
Answers: 1
Do you know the correct answer?
Java Eclipse homework. I need help coding this Challenge 9B - Commission

Package: chall...

Questions in other subjects:

Konu
Mathematics, 06.11.2020 22:50
Konu
Mathematics, 06.11.2020 22:50
Konu
Chemistry, 06.11.2020 22:50
Konu
Mathematics, 06.11.2020 22:50