site stats
  • DAT 210 Week 3 Control Structures using Java (2020 New)

DAT 210 Week 3 Control Structures using Java (2020 New)

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 the NetBeans IDE, that calculates the total annual compensation of a salesperson. 

Consider the following using your assigned scenarios from week 1:

A salesperson will earn a fixed salary per assigned scenario: 1=$25,000, 2=$30,000, 3=$35,000 {tip: use a constant for salary]

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 6% of total sales for scenario 1 and 7% for scenario 2. 3 has no commission. [tip: use a constant for commission rate]

The total annual compensation is the fixed salary plus applicable commission less taxes at 10%. Scenario 1 does not pay tax on the commission.

The Java® application should meet the following 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 controlling class name should include your name. Example: bsmith_commissions.java. Submissions must be named this way to receive credit.

There should be proper documentation in the source code. This should include a program header with your name, week #, date, assigned scenario #, and program description.

The application should prompt for the user name and it should display the user's name and total annual net compensation.

Review the Lynda.com® videos from this week if you have additional questions on creating a program in Java®. 

Submit the .java file to the assignments folder. If you are using NetBeans you may export the project to a zip file and submit that instead. Otherwise just submit the .java file. Include your name and week number in the zip file name. Do not submit a .rar file or any other compressed format other than .zip.

Submissions that duplicate the submission of another student (comments, formatting, variable names, coding standards, formulas, etc.) are not eligible for credit. 


DAT 210 Week 3 Control Structures using Java (2020 New)

  • Product Code: Tutorial
  • Availability: In Stock
  • $10.00


Tags: DAT 210