Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Note Please do not waste my question Because some of people just do search in Chegg and they do copy / paste the answer what
Note "Please do not waste my question" Because some of people just do search in Chegg and they do copy / paste the answer what matter if the answer is right or wrong they do not care us just they want an increase their answers . So, I have try all coding in Chegg it did not work=== >>> Please do not do copy/paste
==========================
My question is:
- Use NetBeans IDE
- The application should contain two .java files:
- CreateSalseperson.java: This is the name of your main application class. The logic noted in Exercise 5 (Chapter 9) should be included here except there are no deletions. Remember that the application class controls the programs logic.
- Salesperson.java: Your class used to create each of the 20 potential salesperson objects. Each contains a name, ID, and annual sales. This is from Exercise 6A (Chapter 8).
- ID must be 8 characters long and no duplicate.
- No parallel arrays.
- Each salesperson must be an object.
- Only 20 entries permitted.
- If user select "add" option:
- Issue an error message if the database (array) is full.
- Otherwise, prompt the user for an ID number
- If ID number already exists in the database, issue an error message
- Otherwise, prompt the user for the name, sales value, and add the new record to the database (array).
- If user select "change" option:
- Issue an error message if the database (array) is empty
- Otherwise, prompt the user for an ID number
- If requested record does not exist, issue an error message
- Otherwise, prompt the user for a new sales value and change the sales value for the record
- DO NOT delete the record.
- You have the freedom to decide when you output the contents of the array, this could either after each transaction, or can be determined by the user.
- Implementing "Quit" function is optional.
- Make sure to add ASCII design and include your companys name and other important information in the output.
==========================
I have upload 3 photos to update my question
it must to do by Java only
all in 1page - Windows Photo Viewer File Print E-i r Open run What would you like to do today? (A dd a Record (C hange a Record (Q uit Note: All objects must be array Please enter in your choice fl type "Add" will not accept, only accept A Invalid input nhat would you like to do today? (A dd a Record (C hange a Record (Qhuit Please enter in your chaicegh Invalid input what would you like to do today? (A dd a Record (C hange a Record Please enter in your choice: A lease enter vight 040,1s or your to 12345478here accept only 8 numbers ( not less or more) and not repeated Please enter eight digits for your ID 12345678 Please enter your name: Bubba Please enter your sales anount: $23457 Do you want to display your database? Y/N: N what would you Like to do today? (A dd a Record (C hange a Record (Qbuit Please enter in your c Please enter your ID: 12345678 Identification number a Enter identification nunber: 12345677 Please enter your name: John Please enter your sales anount: $55555 Do you want to display your database? YAN: exists, try again. all in 1page Windows Photo Viewer File PrintE-mai Burn Open Oput-Lab3Derne (run Download this video-28 Do you vant to display your database? Y/NI N What would yov like to do today (Aldd a Record (Cihange a Record Oluit Please enter in your choice: A Please enter your ID: 12345678 Identification nunber already exists, try again Enter identification number: 12345677 Please enter your name: John Please enter your sales anount: 55555 Do you vant to display your database? Y/N: Y D 12345677 ID #12345678 John Bubba 55555.0e 23457, 8e when I add more it can displays what I added from first to last what would you tike to do soday? Aldd a Record (Cihange a Record (Q)uit Please enter in your choice:A Please enter your ID: 88888888 Please enter your name: Kiki Please enter your sales anount: $55 Do you vant to display your database? Y/N:Y ID #12345677 ID #12345678 1D 483888888 John Bubba Kiki $55555.ae 23457, 88 $55.00 What would you like to do today (Aldd a Record (C)hange a Record (Q)uit Please enter in your choice: all in 1page - Windows Photo Viewer File PrintE-mail Bur Open ID 12345677 ID #12345678 ID #88888888 ohn Bubba Kiki $55555.00 23457.00 $55.00 What vould you like to do today? (A)ad a Record (C)hange a Record o uit when l type "C" it allows me to change I entered by the ID numbers Please enter in your choice C Please enter ID to change: Identification number does not exist, try again. Do you want to display your database? Y/N: N What vould you like to do today (A)dd a Record (C)hange a Record 4 Please enter in your choice: change Invalid inout What would you ike to do today A)dd a Record (C)hange a Record Oluit Please enter in your choice: C Please enter ID to change: 88888888 Enter in new sales anount: $65678 Do you want to display your database? Y/N: Y ID 12345677 ID #12345678 ID #88888888 ohn Bubba Kiki $55555 , 23457-0e 65678.00 What would you like to do today? Aldd a Record (C)hange a Record oluit The database cannot accept mcre than 20 the message" the database is fullStep 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