Display the total annual compensation.


Write a JavaTM application using NetBeansTM 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 $40,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 5 percent of total sales.
  • The total annual compensation is the fixed salary plus the commission earned.

The JavaTM application should meet these technical requirements:

  • The application should have at least one class, in addition to the application's controlling class.
  • There should be proper documentation in the source code.
  • The application should ask the user to enter annual sales, and it should display the total annual compensation.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Display the total annual compensation.
Reference No:- TGS0530988

Expected delivery within 24 Hours