Question: Write a Java program that accepts the total amount of cars sold and total sales amount of a car salesperson for a given month. The

 Write a Java program that accepts the total amount of cars

Write a Java program that accepts the total amount of cars sold and total sales amount of a car salesperson for a given month. The salesperson's paycheck is computed as follows: a. Every sales person gets 10% (commission) of total sales b. Sales totals greater than $50,000 get 5% of total sales amount c. 8 or more cars sold earns the salesperson an extra 3% Please remove 30% (taxes) of the gross pay and list the paycheck amount. Your output must include: Total Cars Sold (example: 7) Total S amount of Cars Sold (example: 70000) Commission Amount (example: 7,000) Sales Total Bonus (example: 3,500) Number of Cars Sold Bonus (example: 0) Gross Pay (example: 10,500) Tax Amount (example: 3,150) Net Pay (example: 7,350) Must use a loop to run the program until the user enters a 'X' to exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!