Question: Create a Java CLI application that enables a manager to enter up to 20 salespeople's names, IDs and annual sales. Each salesperson must be an

Create a Java CLI application that enables a manager to enter up to 20 salespeople's names, IDs and annual sales. Each salesperson must be an object and must be part of one array.(No parallel arrays permitted.)

The manger can choose to add a new salesperson until there are 20 total. Once 20 salespeople are present, no new data can be added

No duplicate IDS should be entered. Once the manger is finished, display all the saleperson data in an easy to read format

In addition the manager can change a salespersons annual sales by entering a salespersons ID. Make sure to check if that salesperson exists and inform the manger. After the change, re display the list

IDs are eight digits long and cannot be duplicated

CreateSales.Java

This is main application classs

Salesperson.java

Class used to create each of the 20 potenital salesperson objects. Each contains a name, ID, and annual sales.

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!