Write a program that has 3 separate arrays: firstName, lastName, phone. Each array should should be populated with at least 10 entries and should include the 6 entries in the sample. The program should allow the user to enter a name and then search to determine if the name is in the array and the number of the subscript location. If found, the program should then display the first name, last name, and phone number. If not found, the computer should display a message saying "This name does not exist in database."
If the first name exists more than once in your array, it should print all entries that meet the search parameter
Use a loop to print all of the entries in your arrays.
Technical Requirements:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here