Reference no: EM131757209
Write a console based, non-GUI (not a Graphical User Interface application) Java program using NetBeans (or similar) Integrated Development Environment (IDE) a that calculates the total annual compensation of a salesperson.
Consider the following factors:
A salesperson will earn a fixed salary of exactly $30,000.
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 8% 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).
This means you must write and use at least two classes to meet the requirements.
Simply using a second class that somebody else wrote does not meet the requirement (see the student material within the Week 2 Supporting Activity "Discussion of a Three Class Example" to understand how to write multiple classes).
There should be proper documentation in the source code including any references used (references used should be in a "References" section of comments at the end of your file).
The application should ask the user to enter annual sales, and it should display the total annual compensation.
Submit the ".java" file(s). Do NOT submit a .zip file, .jar file, or compiled .class file; only submit the .java(s) file. Do not submit a screen shot.
Note: Do NOT prompt for anything other than the annual sales, and do not use a base salary or commission rate other than what is described above.