Question: using Java only and read instructions carefully. Create a New Project called Your LastNameEmpSearch. Write a program that allows a user to enter the names

using Java only and read instructions carefully.
Create a New Project called Your LastNameEmpSearch. Write a program that allows a user to enter the names and identification numbers (IDs) of up to 10 employees. Continue to prompt the user for names and IDs until the user enters the sentinel value "ZZZ" for a name OR has entered 10 names, whichever comes first. When the user is finished entering names, produce a count of how many names were entered, and then display the names. Next, in a loop, continuously ask the user to type one of the IDs previously entered and then display the corresponding employee name OR an error message if the ID has not been previously entered. The loop continues until the user enters "ZZZ" for an ID. NOTE: All identification numbers (IDs) are five (5) characters long and begin with a 'B! For example, "B1234", "B6745", and "B0222" are all valid IDs. Be sure to provide specific instructions to the user on how to enter any data. Provide sample input with your user prompts where appropriate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
