Problem

a. Create a CustomerProfile class. Each CustomerProfile contains a last name, phone number...

a. Create a CustomerProfile class. Each CustomerProfile contains a last name, phone number, and bit fields indicating whether the customer:

» Works full-time

» Owns a home

» Owns a dog

» Owns a computer

» Has a credit card

» Gives to charity on a regular basis

» Subscribes to magazines

Also include appropriate functions to set and retrieve CustomerProfile values.


b. Suppose an organization wants to solicit homeowners to home improvement loans. Write a program that allows you to create an array of at least 10 CustomerProfiles, then select homeowners and display them. Save the file as CustomerHomeowners.cpp.


c. Using the same CustomerProfile class, write a program that allows you to select customers who own both a dog and a computer, so you can send them advertisements about a new pet-oriented Web site. Save the file as CustomersWithComputersAndDogs.cpp.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT