[SOLVED] SOLVED: Earnings Calculator

19.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

Rate this product

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*/

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.