Write a Java application using NetBeans Integrated Development Environment
Consider the following factors: A salesperson will earn a fixed salary of $4,000 per month. 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 20% 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 method, in addition to the application’s main method. 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.