Assignment - Simple Contact Manager
Create a program that simulates a simple contact manager application given the following requirements:
- The program is to store individual names and associated telephone numbers in parallel arrays.
- The program should input from the user 10 people's names and their telephone numbers and add the data to the parallel arrays.
- When data input is finished, the program should sort both data arrays in ascending order based on telephone numbers maintaining the associations between names and telephone numbers.
- The program will print the list of users and their telephone numbers after sorting.
- After printing the list, the program will ask for a name to search for.
- The user will then enter a name.
- The program will then search for the name and print the name and the associated telephone number for that person.
- If the person is not in the array, the program will print that the user cannot be found.