Answered You can hire a professional tutor to get the answer.

QUESTION

Write a console based, non-GUI Java application using NetBeans Integrated Development Environment (IDE) that calculates the total annual compensation...

  • Write a console based, non-GUI Java application using NetBeans Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors:A salesperson will earn a fixed salary of $24000 per year.
  • A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson's annual sales. The current commission is 4.2% of total sales.
  • The total annual compensation is the fixed salary plus the commission earned.

The Java application should meet these technical requirements:

  • The application should have at least one class, in addition to the application's controlling class (a controlling class is where the main function resides).
  • The application source statements should reside in exactly one .java file and contain no package statement. (see Java Project Without Packages, posted in Class Messages.)
  • Application must avoid all posted avoidances. (see Avoidances for PRG/420, posted in Class Messages).
  • There should be proper documentation in the source code, including a comment at the top of the source file, containing the name of the course, your name, the week number, and the date.
  • The application should ask the user to enter annual sales, and it should display the total annual compensation.
public class SalesPerson {private double fixedCompensation;private double variablePercent;private double sales;private String name;//default constructorpublic SalesPerson() {...
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question