A contact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. Write a program that first takes in word pairs that consist of a name and a phone number (both strings), separated by a comma. That list is followed by a name, and your program should output the phone number associated with that name. Assume the search name is always in the list. Ex: if the input is: joe,123-5432 linda,983-4123 frank,867-5309 frank the output is: 867-5309.

Respuesta :

Otras preguntas