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.
1. 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.
2. An iterator must be implemented in the SalesPerson class. Example:
3. public Iterator iterSales(){
4. return sales.iterator();
5.}
6. The main program should ask the user to enter the name, title, and at least 3 sales figures for 3 different sales people. Add these sales people to an ArrayList of sales people.
7. 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.
8. 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!