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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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