Preview

Prg420 V10 Week 4 Individual Assignment

Better Essays
Open Document
Open Document
761 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Prg420 V10 Week 4 Individual Assignment
PRG420 (Version 10) - Week 4 Individual- Simple Commission Calculation Program Part 3 Modify the Week Three Java™ application using Java™ 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 Java™ application should also meet these technical requirements: * 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. * There should be proper documentation in the source code.

Source Code:

/** *
Program: Simple Commission Calculation Program Part 3
Purpose: to calculates and display the total annual compensation of a salesperson.
Programmer:
Class: PRG420
Instructor:
Creation Date:
Programmer Modification Date:
Purpose: to add name of sales person and also functionality to manage the list of sales persons an comparing their annual compensation
Program Summary: This program will calculate and display the total annual compensation of a salesperson. Here in this program the salary of the salesman and its commission rate is fixe and program accepts sales amount.

*/ import java.util.ArrayList; import java.util.Scanner; import java.text.NumberFormat;

class SalesPerson {

private final double fixed_Salary = 35750.00; private final double commission_Rate = 12.0; private final double sales_Target = 125250.00;

private String name; private double annual_Sales;

//default constructor public SalesPerson() { name = "Unknown"; annual_Sales = 0.0; }

//parameterized constructor public SalesPerson(String

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Yes, all terms below are correct! Christopher will get a settlement amount of $5,711.20 now from State Farm. And after successfully subrogate the at fault party, Christopher will receive another $500. The payment of $350 for the car seat is to pay for the damaged car seat; it's not part of the total loss settlement. No loss of use and rental reimbursement.…

    • 145 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Pay as you order policy - The customers will be required to pay the amount of their orders before receiving their orders.…

    • 644 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Paul, R. & Elder, L. (2006). Critical thinking: Tools for taking charge of your learning and your life (2nd ed). Retrieved from https://ecampus.phoenix.edu/content/eBookLibrary2/content/eReader.aspx…

    • 808 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    1) Using the FASB Accounting Standards Codification (http://aaahq.org/ascLogin.cfm User ID: AAA51167 Password: HcP5b3G) Answer the following question: How should Casino comps be recognized (I do not want the definition of a comp)? State 1) The codification number in the format XXX-XXX-XX-X or Topic-Subtopic-Section-Paragraph…

    • 1593 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Prg421 Week 2 Ia

    • 565 Words
    • 3 Pages

    import java.awt. FlowLayout; import java.awt. GridLayout; import java.awt.event. ActionEvent; import java.awt.event. ActionListener; import java.text.…

    • 565 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    My excel skill is not good enough for the assessment and the graphing part is mainly completed by my group member. But after I realized my weakness, I asked help from my group members and now my excel skill is greatly improved and able to do the graph for the assessment.…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Stein, T.J. (2004), The role of law in social work practice and administration, Columbia University Press, New York.…

    • 872 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Sales Comparison

    • 414 Words
    • 2 Pages

    ; totalCompensation+=salary+commission; } public double getTotalCompensation() { return totalCompensation; } /* * The company has recently changed its total annual compensation policy to…

    • 414 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    * This program allows a user to calculate a mortgage payment based on their input.…

    • 469 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Employee Compensation

    • 307 Words
    • 2 Pages

    The direct financial compensation is the primary component in a total rewards package (Duchon, 2007). The financial compensation for the newly selected sales team will be a combination of salary plus incentives (commissions and bonuses). Straight salary plans will provide the sales reps with a steady guaranteed income as well as motivate effort on non selling activities. The incentive payments will help direct effort towards strategies, provide additional rewards to top performers and encourage sales success. The goal of the combined financial...…

    • 307 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Lisa Gamel CSU Global Campus ITS320 Basic Programming Dr. Biswajit Panja Final February 26, 2015 / * * Program number: University – ITS-320 – Basic Programming * Name * Date: 02/26/2015 * */ public class NegativeAmountException extends Exception { private static final long serialVersionUID =…

    • 444 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Chemgrow Case Study.Doc

    • 617 Words
    • 3 Pages

    The sales representative and there average percentage is shown in exhibit 6.3 ans also lets us know the overall contribution of the best sales representatives. According to the exhibit 6.2 the gross margin of each product is given, the decision on the best sales representative can be calculated comparing the average of the sales representatives with gross margin for each product. The best salesperson is by far Dow even though his contribution is limited to one product. Since the gross margin of Ammonia is way higher than the rest, contribution of Dow has exceeded the rest and is the best sales figure among all the sales representatives. The next best sales representative would be Thums contributing again heavily on ammonia and a small amount on Phosphates.…

    • 617 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    java

    • 571 Words
    • 3 Pages

    System.out.println("The clerk's number is" + clerk.getEmpNum() + " and the friver's number is " + driver.getEmpNum());…

    • 571 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    c ++ program

    • 252 Words
    • 1 Page

    In the statement cin >> y;, y can only be an int or a double variable.…

    • 252 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Smis Report

    • 13462 Words
    • 54 Pages

    I hereby declare that the project work entitled “Sales Management Information System” is an authentic record of my own work carried out at TCIL-IT as requirements of Industry Internship project for the award of degree of B.Tech (CSE) in the Department of Computer Science and Engineering, BBSBEC, fatehgarh sahib ,Affiliated to PTU , Jalandhar under Roll No.-90060302280 under the guidance of Mr. Jitendra Yadav (Industry Coordinator) and Prof. Dhavleesh Ratan(Faculty Coordinator), during July to December 2012.…

    • 13462 Words
    • 54 Pages
    Powerful Essays

Related Topics