Adding code to a JAVA program assignment

computer science


I need help adding code to a JAVA program I completed last week.

The new requirements need to be added last weeks program to meet the following requirements:

Modify the Week Three Java application using NetBeans IDE to meet these additional and changed business requirements.

  • The application will now compare the total annual compensation of at least two salespersons.
  • It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners.
  • The application should ask for the name of each salesperson being compared.
  • The application should have at least one class, in addition to the application's controlling class.
  • The source code must demonstrate the use of Array or ArrayList.

The Java application should also meet these technical requirements:

I have attached last week’s assignment code, along with the correct output. I have both classes in one .java file as per course instructions. 

It does not seem complicated, but I’ve been working on it all week and can’t get it to work. I can upload last weeks requirements if necessary.

Related Questions in computer science category