Calculates the total annual compensation of a salesperson


Homework: Control Structures

You work for a software company has just created a new incentive for salespeople to earn a commission on each sale. The current program only allows for a fixed salary. The Chief Information Officer (CIO) has asked you to create a new program that allows the functionality for a fixed salary and commission.

Write a Java application, using NetBeans IDE, that calculates the total annual compensation of a salesperson.

Consider the following:

1) A salesperson will earn a fixed salary of $30,000.

2) 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 7% of total sales.

3) The total annual compensation is the fixed salary plus the commission earned.

The Java application should meet the following technical requirements:

1) 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).

2) A file needs to be created to contain the output.

3) There should be proper documentation in the source code.

4) The application should ask the user to enter annual sales, and it should display the total annual compensation.

Format your homework according to the following formatting requirements:

i) The answer should be typed, using Times New Roman font (size 12), double spaced, with one-inch margins on all sides.

ii) The response also includes a cover page containing the title of the homework, the student's name, the course title, and the date. The cover page is not included in the required page length.

iii) Also include a reference page. The Citations and references must follow APA format. The reference page is not included in the required page length.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Calculates the total annual compensation of a salesperson
Reference No:- TGS03026709

Now Priced at $50 (50% Discount)

Recommended (97%)

Rated (4.9/5)