Delete a contact by having the user enter the name

Assignment Help Database Management System
Reference no: EM13819683

a. Define a class contactList that can store a name and up to 3 phone numbers (use an array for the phone numbers). Use constructors to automatically initialize the member variables.

b. Add the following operations to your program:

i. Add a new contact. Ask the user to enter the name and up to 3 phone numbers.

ii. Delete a contact by having the user enter the name.

iii. Search the list by name and print the name and phone numbers for that one person.

iv. Print all contacts and phone numbers for each contact.

c. Create a program to test your class. The program should have a menu like this one.

1. Add a contact

2. Delete a contact

3. Print all contacts

4. Search for a contact

5. Exit

Reference no: EM13819683

Questions Cloud

Research the organizations mission statement : Describe the organization, what it does, the customers it serves, and its size. Research the organization's mission statement. Discuss the role HR will play (or does play) in fostering the organization's mission statement.
Describe the history and core business of kodak and fujifilm : Describe the history and core business of Kodak and Fujifilm company. Compare and contrast the approach to management that each company has pursued in order to embrace innovation.
Why do you think workplace stress is skyrocketing : Why do you think workplace stress is skyrocketing? Do you think it is a trend that will continue? Explain the reasons for your answer. Do you think it is the responsibility of managers and organizations to help employees manage stress? Why or why ..
Questions for a fixed-rate mortgage : Part One. Please answer the following questions for a fixed-rate mortgage as a fully amortizing mortgage loan made for $175,000 at 4.5% interest for 30 years.
Delete a contact by having the user enter the name : Delete a contact by having the user enter the name
Calculate the standard deviations of the returns : Calculate the standard deviations of the returns for Goodman, Landry, and the MarketIndex.(Hint: Use the sample standard deviation formula given in the chapter, which corresponds totheSTDEV function inExcel.)
Fill the array using random numbers : Fill the array using random numbers
Commodities as alternative investments : Undertake independent research work and produce a dissertation thesis or project report and identify research methods for producing empirical data analysis, qualitative research outputs
What is the artist trying to convey : Describe the work: what is the title of the work? the size? what does it look like? what is it made out of? is hand-made? machine made? abstract or representational? it is a sculpture, installation, painting, photograph, etc? is there a relationship ..

Reviews

Write a Review

Database Management System Questions & Answers

  Study on managing the software enterprise

This course is for those in a management capacity, or those interested in management, involving the strategic consideration of software acquisition, development and project management.

  Write down a three to four 3-4 page paper in which you

a multinational tour operator agency has gained new business growth in the north american market through the use of

  Write a one page paper on quantum cryptography

An enterprising group of entrepreneurs is starting a new data storage and retrieval business, StoreItRite, Inc.

  How virtual applications and desktops or both will delivered

Regional Gardens Ltd is a company that runs number related gardening enterprises. It has a large display garden that it opens for public inspection a number of times in a year.

  Explain the following terms brie?y attribute domain entity

Explain the following terms brie?y: attribute, domain, entity, relation-ship, entity set, relationship set, one-to-many relationship, many-to-many relationship, participation constraint, overlap constraint, covering constraint, weak entity set, aggre..

  Create a class diagram

Create a use case diagram and use case descriptions for each use case scenario in your use case diagram (minimum of 3).

  Advantages of using an object-oriented database

From the e-Activity, select an organization, and explain the advantages and disadvantages of using an object-oriented database and a NoSQL database in its marketplace

  List all the functional dependencies that this relation

Assume that the value of attribute Z of the last record in the relation is changed from z3 to z2. Now list all the functional dependenciesthat this relation instance satis?es.

  How an organization would allow programmatic access

A few years have passed, and the restaurant has grown to become a national restaurant chain. Now, they are concerned that remote and branch offices and restaurants in all fifty states will not have ready access to the data.

  Does the resulting relation have an mvd

Does the above have one or more functional dependency (do not list FDs by applying derivation rules)? If so, what is it? Show how you will remove it by decomposition.

  Problem on concept learning

Write an algorithm called \Find-G" to nd a maximally-general consistent hypothesis. You can assume the data will be noise-free and that the target concept is in the hypothesis space.

  Draw a complete entity relationship model

Discuss any FOUR reports that would be generated from the data model - Draw a complete Entity Relationship (ER) model using data model notation that you are familiar.

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