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

  Write down a program that inputs a word

Write down a program that inputs a word from the keyboard and determines the length of the word. Print the word using twice the length as the field width.

  Give appropriate accessor methods to set and get the data

create an address book application to keep track of the names, addresses, phone numbers, and birthdays of family, friends, and colleagues. You may implement your own linked list library, but it is recommended that you make use of the linked list A..

  When programmer intentionally creates endless loop

When programmer intentionally creates an endless loop, how would he end the loop.

  Write down a recursive function "sumdigits"

modify a recursive function "sumDigits" in C++, that receives an integer as argument by reference and returns the sum of digits representing this integer. Also write a main function to test this function.

  What concerns may be faced with a decision

The earliest LANs used coaxial cable as the transmission medium. Over time, unshielded twisted pair (UTP) wiring emerged as a better and faster medium. Wireless (RF) LANs are emerging as cheaper and faster alternatives to UTP.

  Express the role of a web server

Describe the functions of layered Web architecture.express the role of a Web Server.

  Find ability to emphasize the points on a list

PowerPoint gives users the ability to emphasize the points on a list with either numbers or bullets. Study the following statements, give a specific example where each would be more appropriate and justify your answers.

  Create a program to perform the simulation

Each time a square is touched, the count for that square is incremented. Thus, a non-zero entry in the array shows the number of times bug has landed on the corresponding square. When every square has been touched at least once, the simulation is ..

  Software reliability is very important to the success

Software reliability is very important to the success of our software engineering efforts. define the effect of maintenance activities on software reliability and how to ensure continued software reliability.

  Imagine you are asked to head a non-computerized department

Now assume you would like to connect the internal network you devised in Q1 to the outside world. What are the steps you consider to follow? And what are the additional equipment/software you would purchase and why?

  Proposing the reasonable values

Propose the reasonable values for items in risk register for this asset and threat, and give the justifications for your choices.

  Program that creates basic user interface code

Program that creates basic user interface code

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