Answered step by step
Verified Expert Solution
Link Copied!

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.
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

Whether training would be needed, and what methods would be used.

Answered: 1 week ago

Question

What should be the purpose of performance management and appraisal?

Answered: 1 week ago

Question

The issue of staff sensitivity to feedback

Answered: 1 week ago