Please write an improved version of the phone book application. Each entry should now accommodate multiple phone numbers. The application should work otherwise exactly above, but this time all numbers attached to a name should be printed. command (1 search, 2 add, 3 quit): 2 name: peter number: 040-5466745 ok! command (1 search, 2 add, 3 quit): 2 name: emily number: 045-1212344 ok! command (1 search, 2 add, 3 quit): 1 name: peter 040-5466745 command (1 search, 2 add, 3 quit): 1 name: mary no number command (1 search, 2 add, 3 quit): 2 name: peter number: 09-22223333 ok! command (1 search, 2 add, 3 quit): 1 name: peter 040-5466745 09-22223333 command (1 search, 2 add, 3 quit): 3 quitting... Sample outp
Please write an improved version of the phone book application. Each entry should now accommodate multiple phone numbers. The application should work otherwise exactly above, but this time all numbers attached to a name should be printed. command (1 search, 2 add, 3 quit): 2 name: peter number: 040-5466745 ok! command (1 search, 2 add, 3 quit): 2 name: emily number: 045-1212344 ok! command (1 search, 2 add, 3 quit): 1 name: peter 040-5466745 command (1 search, 2 add, 3 quit): 1 name: mary no number command (1 search, 2 add, 3 quit): 2 name: peter number: 09-22223333 ok! command (1 search, 2 add, 3 quit): 1 name: peter 040-5466745 09-22223333 command (1 search, 2 add, 3 quit): 3 quitting... Sample outp
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter4: The Selection Structure
Section: Chapter Questions
Problem 7E
Related questions
Question
Can you use Python
Thanks
![Please write an improved version of the phone book application. Each entry should now
accommodate multiple phone numbers. The application should work otherwise exactly as
above, but this time all numbers attached to a name should be printed.
command (1 search, 2 add, 3 quit): 2
name: peter
number: 040-5466745
ok!
command (1 search, 2 add, 3 quit): 2
name: emily
number: 045-1212344
ok!
command (1 search, 2 add, 3 quit): 1
name: peter
040-5466745
command (1 search, 2 add, 3 quit): 1
name: mary
no number
command (1 search, 2 add, 3 quit): 2
name: peter
number: 09-22223333
ok!
command (1 search, 2 add, 3 quit): 1
name: peter
040-5466745
09-22223333
command (1 search, 2 add, 3 quit): 3
quitting...
Sample output](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1e81da3a-685f-4a1c-b0d8-bdbcceea4042%2F76bd644c-bdbb-456c-8fe2-9640d9ea4b68%2F30ygwbh_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Please write an improved version of the phone book application. Each entry should now
accommodate multiple phone numbers. The application should work otherwise exactly as
above, but this time all numbers attached to a name should be printed.
command (1 search, 2 add, 3 quit): 2
name: peter
number: 040-5466745
ok!
command (1 search, 2 add, 3 quit): 2
name: emily
number: 045-1212344
ok!
command (1 search, 2 add, 3 quit): 1
name: peter
040-5466745
command (1 search, 2 add, 3 quit): 1
name: mary
no number
command (1 search, 2 add, 3 quit): 2
name: peter
number: 09-22223333
ok!
command (1 search, 2 add, 3 quit): 1
name: peter
040-5466745
09-22223333
command (1 search, 2 add, 3 quit): 3
quitting...
Sample output
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT