Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Programming assignment (100 pts): Write a program that uses an array of structures to hold contact information for your friends. The program should allow
Programming assignment (100 pts): Write a program that uses an array of structures to hold contact information for your friends. The program should allow the user to enter as many friends as the user wants. Create functions to add or delete entries in the phone book and to print valid phone book entries. Do not display phone book entries that are invalid or NULL (0). You can assume that all people have unique names. Make sure you allocate and free memory as necessary. Output example: Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 1 First name: Bob Last name: Smith DL ACCO Programming assignment (100 pts): Write a program that program should all contact information for your friends. The as the user wants. Create functions to add or delete entries i phone book entries. Do not display phone book entries that assume that all people have unique names. Make sure necessary. Output example: Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 1 First name: Bob Last name: Smith Phone number: 123-4567 Record added to the phone book Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 1 First name: John Last name: Doe Phone number: 893-4567 Record added to the phone book Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 3 Phone Book Entries: Bob Smith 123-4567 John Doe 893-4567 Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 2 First name: John Last name: Doe Record deleted from the phone book Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 3 Phone Book Entries: Bob Smith 123-4567 Programming assignment (100 pts): Add additional functionality from lab# 6. Make it possible for users to: 1) Alphabetically sort the list of entries by name (first or last). 2) Find a phone number for a given name. 3) Randomly select a friend from the phonebook for you to call. 4) Delete everyone from the phonebook at the same time. 2) Delete friend 3) Show phone book What do you want to do: 3 Phone Book Entries: Bob Smith 123-4567 Programming assignment (100 pts): Add additional functionality to your phonebook program from lab# 6. Make it possible for users to: 1) Alphabetically sort the list of entries by name (first or last). 2) Find a phone number for a given name. 3) Randomly select a friend from the phonebook for you to call. 4) Delete everyone from the phonebook at the same time.
Step by Step Solution
★★★★★
3.52 Rating (155 Votes )
There are 3 Steps involved in it
Step: 1
Certainly Below is a simple Python program that allows the user to manage a phone book with the specified functionalities python import random phonebo...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started