Question: Using any high level programming language, create a Sales Tracking program. 1 . The program should have a SalesPerson class that contains the person s
Using any high level programming language, create a Sales Tracking program.
The program should have a SalesPerson class that contains the persons name, title, and sales this should be an ArrayList of double values to store sales figures Appropriate getters, setters, and constructors should be created.
An iterator must be implemented in the SalesPerson class. Example:
public Iterator iterSales
return sales.iterator;
The main program should ask the user to enter the name, title, and at least sales figures for different sales people. Add these sales people to an ArrayList of sales people.
The sales report method should print out all information for each sales person by using an iterator. The data printed should be: total sales, min sales, max sales, average sales and total for the entire company.
NOTE: for full credit, you must be one of the sales people.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
