Create a customer profile class.

Assignment Help C/C++ Programming
Reference no: EM13158858

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 house

--Owns a dog

--Owns a computer

--Has a credit card

--Gives to charity on a regular basis

--Subscribes to magazines

b. Suppose an organization wants to solict homeowners to home improvement loans. Write a program that allows you to create an array of atleast 10 CustomerProfiles, then select homeowners and display them. Save as CusHomeowner.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 advertisement about a new pet-oriented website. Save as CusWithDogComp.cpp

Reference no: EM13158858

Questions Cloud

Calculate the heat of reaction, in kj, : 600.0 mL of 0.240 M perchloric acid, HClO4(aq) was added to a high quality constant-pressure calorimeter containing 400.0 mL of 0.300 M KOH(aq). Both solutions have a density of 1.000 g mL-1 and a specific heat of 4.184 J g-1°C-1.
Discuss the roles of mitosis and meiosis : Discuss the roles of mitosis and meiosis in animal and plant growth. How do these two processes differ from one another? Please provide a detailed answer.
Unequal distribution of wealth matter : Explain unequal distribution of wealth matter in terms of public policy and why does it matter. Analyze and take a position on unequal distribution of wealth and its influence on demographic changes
Which effect could not occur for participating countries : Assume that the formation of a customs union turns out to include the lowest-cost world producer of the product in question. Which effect could not occur for the participating countries?
Create a customer profile class. : a. Create a CustomerProfile class. Each CustomerProfile contains a last name, phone number, and bit fields indicating whether the customer:
What will be the volume of the gas sample : A gas sample has an original volume of 680 ml when collected at 720 mm and 28°C. What will be the volume of the gas sample if the pressure increases to 820 mm and the temperature increases to 55°C?
Several key parts required : Calculate the total price based on several key parts required to build a state-of-the-art gaming computer. The user will have the option of selecting different parts.
Calculate the breakeven value at the low price of the data : Calculate the breakeven value at the low price of the data item that you consider most likely to be unreliable.
What level of output are your average variable costs : what level of output are your average variable costs minimized and at what level of output are your average total costs minimized?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Prepare a program for a retail-mart company

Prepare a program for a company Retail-Mart.

  Design a deck plan space ship in eclipse

Develop a simple interactive two-dimensional spaceship deck plan editor using OpenGL and GLUT. Your program will enable a user to create and save a deck plan of a hypothetical spaceship comprising the hull walls.

  Base process which communicate with child processes

Write a program which has a "base process" which communicates with child processes acting as "bombers" that it creates.

  Writing a program that creates a linked list

Writing a program that creates a linked list from 100 randomly generated numbers and sorts the using a heap. One heap in ascending order and one heap in descending order. Then displays the original linked list and both sorted lists.

  Function declare that it can throw an ioexception

Every C++ function that performs file I/O will thus need to either declare that it can throw an IOException, or contain a try-catch-finally block to deal with it. Response?

  Create a class called point3d

Create a class called Point3D to represent 3D point in space, a class called Sphere and a class called Cylinder. The sphere is characterized by its center point and the radius while the Cylinder can be characterized by its center point, radius and he..

  Main function to input twenty integers in given range

Write a main function to input 20 integers in range of 1-6, function should count number of times the numbers 2 and 5 occur. function must declare statics variables count2 and count5.

  Prepare the weighted scoring model for three exams

Prepare the weighted scoring model. Final grades are based on three exams worth 15%, 20%, and 25%, respectively; homework is worth 20%.

  A constructor and a destructor

A constructor and a destructor, Insert a new element chosen by the user at the correct place in the list

  Program to enter number of values to be processed

Write c++ statements to permit the user to enter n, the number of values to be processed; then assign the anonymous array of n double values, storing its address in doublPtr.

  Calculate the net pay as the gross less the taxes

Design and code a new function that accepts as parameters the gross pay by value and the federal tax, state tax, local tax, SS tax, and net Pay by reference.

  A series of one-digit non-negative numbers

Write a program that asks the user to enter a series of one-digit non-negative numbers

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