Create a function to print valid phone book entries

Assignment Help Computer Engineering
Reference no: EM13322385

Write a program that uses an array of structures to hold contact information (first name, last name, address, phone number and email) for your friends. The program should allow the user to enter as many friends as the user wants. In this program do the following:

a. Create a function to add entries in the phone book.

b. Create a function to delete a specific entry (lookup based on the first name, assuming every entry has unique names) from the phone book.

(Hint: Use Dynamic Memory Allocation to shrink the array after deletion.)

c. Create a function 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.

d. Create a function to randomly select a friend from the phonebook for you to call.

Reference no: EM13322385

Questions Cloud

Compute their mutual inductance : Two coils are at fixed locations. When the current in coil 2 increases at a rate of 15 A/s, the emf in coil 1 is 25 mV. Find their mutual inductance
Define flow boundaries : Using a data flow diagram and a processing narrative, describe a computer-based system that has distinct transform flow characteristics. Define flow boundaries, and map the DFD into a software architecture using the technique described in Section ..
Create an integer array of size 10 using malloc : Create an integer array of size 10 using malloc and populate it with random numbers between 500 & 1000.
What is the waves magnetic field amplitude : The electric field of an electromagnetic wave in a vaccum is Ey = (25 V/m) sin ((3.78 x 10^8) x - wt), What is the wave's magnetic field amplitude
Create a function to print valid phone book entries : Create a function 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.
What is the instantaneous current : A series RLC circuit consists of a 50ohm resistor, a 3.3 mH inductor, and a 480 nF capacitor. What is the instantaneous current i when e=e_0
What is the pressure at the bottom of the oil filled tube : A uniform round tube of diameter 6.32 cm has two piston tops which are balanced at exactly the same height due to a mass m on the left side, what is the pressure at the bottom of the oil filled tube if the height of the pistons is initially 27.9 cm ..
Explain a temperature at which the reaction is spontaneous : Write an equation for a reaction of Fe2O3 (s) and C(s) to give Fe(s) ad CO(g). How does delta G vary with temperature? Is there a temperature at which the reaction is spontaneous
What is the total pressure on the top of the block : A cube with the side length 1.53 meters of solid styrofoam is completely submerged in fresh water such that the top of the styrofoam block is parallel to the water surface and is 2.55 meters beneath the surface

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd