Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started