First time using Java. Having a hard time putting this together. Could use help with what I should do. Here...
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)
other Questions(10)
- THE COMPANY TO USE IS THE UNITED STATES MARINE CORPS
- must be done asap
- OP MGMT ordering schedule
- Glo Bus Quiz
- FOR A-PLUS WRITER ONLY
- Project Management week 9 Discussions
- ACC 205 Week 5 Assignment,P10-18A,E9-24,E9-21,P9-28A,P10-15A
- STATISTICS
- PROJECT MANAGEMENT
- 1. Equipment transaction and cash flow reporting Dec. 31, 20X4 Dec. 31, 20X3 Property, Plant & Equipment: Land $94,000 $94,000 Equipment 652,000 527,000 Less: Accumulated depreciation -316,000 -341,000 New equipment purchase