First time using Java. Having a hard time putting this together. Could use help with what I should do. Here...

profiledavsig

First time using Java. Having a hard time putting this together. Could use help with what I should do. Here is what I need and what I have.

  • The company has recently changed its total annual compensation policy to improve sales.
  • A salesperson will continue to earn a fixed salary of $15/hr. The current sales target for every salesperson is $100,000.
  • The sales incentive will only start when 80% of the sales target is met. The current commission is 8% of total sales.
  • If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.5.
  • The application should ask the user to enter annual sales, and it should display the total annual compensation.
  • The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salesperson’s annual sales, until it reaches 50% above the salesperson’s annual sales.
    • Sample Table: Assuming a total annual sales of $100,000, the table would look like this:
  • package pkg;
    import java.util.Scanner;    // needed to load scanner class

    /* This program will configure an employees yearly wages and commission
    in increments of $5000
    */
    {
    public class SalaryCalculator

        public static void main (String[] args)
        {
        double    salary = 31,200,
                commission,
                sales;

        // Creates a scanner object for keyboard input
        Scanner keyboard = new Scanner (System.in);

        
        // Get amount of sales
        System.out.print("Enter the amount of sales you had.");        
        sales = keyboard.nextDouble();
        
            }
                   
           
        }
    • 12 years ago
    • 999999.99
    Answer(0)
    Bids(0)