Starting from:

$15

Earnings Calculator

Main method for the application. Handles accepting user input and instantiating objects of the earnings Calculator class to act upon user input. Declare variables to hold user input. Declare a variable to represent the menu options provided| Display the menu while the user has not selected to close the program. Switch statement to determine what actions are taken based on a particular menu selection Check to make sure the user hasn't attempted to exit|| calculateEmployeeEarnings: Uses the employeeList ArrayList to call the earningsCalculator class and the calculateEarnings() and potentialEarnings methods from that class to calculate the earnings for each employee in the list. These method then display the employee earnings and a table detailing their possible earnings up to and including 150% of their sales. compareEarnings method, designed to sort the elements in an ArrayList provided as an argument and then compare sales earnings between elements*/

More products