Programming assignment (100 pts): Write a program that uses an array of structures to hold contact...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
Certainly Below is a simple Python program that allows the user to manage a phone book with the specified functionalities python import random phonebo... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
What updates are made to Trust Accounting for a payment for repairs of a rental property from the rental funds available to the Landlord: What updates are made to Trust Accounting for a payment for...
-
What is defined as the procedure used to standardize the instrument for accuracy by determining the instrument's deviation from calibration references (fine tuning)? What is defined as the procedure...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Factor each polynomial. 64y 9 + z 6
-
A cylindrical rod of glass with index of refraction 1.50 is immersed in water with index 1.33. The diameter of the rod is 9.00 cm. The outer part of each end of the rod has been ground away to form...
-
A research study indicated that an agent in cigarette smoke caused the silencing of a tumor suppressor gene called p53. However, upon sequencing, no mutation was found in the DNA sequence for this...
-
The elastic portion of the stressstrain diagram for a steel alloy is shown in the figure. The specimen from which it was obtained had an original diameter of 13 mm and a gauge length of 50 mm. When...
-
At the beginning of 2014, Foster Corp.s accounting records had the following general ledger accounts and balances. Foster Corp. completed the following transactions during 2014: 1. Purchased land for...
-
6) Find the derivative and simplify your answer: e2x y = x +9
-
All American Telephones Inc. is considering the production of a new cell phone. The project will require an investment of $13 million. If the phone is well received, the project will produce cash...
-
Direct memory access (DMA) in a computer Explain all the details about its organization and operation and give an example.
-
how many of you remember the Fidget Spinner? It seemed like they were everywhere, from gas stations to Wal-Mart. They were also among the top 100 selling products on Amazon at one point. Flash...
-
How should an organization choose a technology for Internet Marketing? Discuss how the technology can be implemented. How would this technology be effective or not effective for various targeted...
-
How Much Super Bowl Commercials Cost in 2023 . Yes, the Super Bowl is about football, but the advertisements scattered throughout the game have become a cultural phenomenon in their own right, and a...
-
How do you think this pandemic will change the way we transport, receive, and handle products in distribution centers? What changes do you envision to the L/SCM processes to ensure that the...
-
How have multinational businesses like Amazon navigated ethical challenges while operating in multiple countries? For example, what ethical considerations did Amazon have to address when concerns...
-
In order to purchase new office equipment, XYZ firm decided to borrow 8.000 TL at an interest rate of 28% from ABC Bank on Jan. 1,2022. The loan is payable in 3 years The Company agrees to pay...
-
Two mutually exclusive investment alternatives are being considered. Alternative A requires an initial investment of $20,000 in a machine. Annual operating and maintenance costs are anticipated to be...
-
Why does C++ have more than one integer type?
-
Write a code fragment that asks the user to enter a positive integer and then creates a dynamic array of that many ints. Do this by using new, then again using a vector object.
-
If Listing 16.9 were implemented with list instead of vector, what parts of the program would become invalid? Could the invalid part be fixed easily? If so, how? Table 16.9 Some list Member Functions...
-
Describe how partial and circular reasoning can be helpful or harmful in resolving ethical dilemmas.
-
Describe the various legal risks for nurses.
-
Describe the various roles of advanced practice nurses.
Study smarter with the SolutionInn App