Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write this in C++ with less libraries if possible. if not its cool whatever works lol. Write a class called Contact that contains info

Please write this in C++ with less libraries if possible. if not its cool whatever works lol. Write a class called Contact that contains info of a single personal contact. Info must have Last name, first name, address, phone, and email address. - must have a constructor that initializes a contact by accepting all parameters.

- must have a default constructor that initializes everything to default values

- must have mutator functions for each field and accessor functons for each field (Make sure the mutator functions accept correct formats of both email and phone number. (i.e. e-mail must be of the form [e-mail-account]@[domain-name].[top-level-domain]. Phone number should be a string of 10 digits)

-need an input function to solicit info

-need an output function to print out the information about the contact. please make this format nice.

-feel free to add any functions that you feel will help improve this program

last but not least NEED a driver program to test the class.

Will thumbs up :). I have basic understanding of this. Please use comments to explain what each block does. I need to learn this lol

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Android Graphics

Authors: Wallace Jackson

1st Edition

1430257857, 978-1430257851

More Books

Students also viewed these Programming questions

Question

What is management growth? What are its factors

Answered: 1 week ago