"phonebook.text"
containing phone entries in the format last-name phone-number, write an application that
allows the user to look up a phone number via the last name. You can assume no two entries have the same last name.
Sample Test Run
For example if the file phonebook.text
cntains:
Arnow 123-456-7890 Harrow 234-567-8901 Jones 345-678-9012 Augenstein 456-789-0123 Sokol 567-890-1234 Tenenbaum 678-901-2345 Weiss 789-012-3456 Cox 890-123-4567 Langsam 901-234-5678 Thurm 012-345-6789here is a sample execution of the program: