subject
Computers and Technology, 31.12.2019 01:31 tubbs45

Persondata and customerdata classes design a class named persondata with the following member variables: lastname firstname address city state zip phone write the appropriate accessor and mutator functions for these member variables. next, design a class named customerdata, which is derived from the persondata class. the customerdata class should have the following member variables: customernumber mailinglist the customernumber variable will be used to hold a unique integer for each customer. the mailinglist variable should be a bool. it will be set to true if the customer wishes to be on a mailing list, or false if the customer does not wish to be on a mailing list. write appropriate accessor and mutator functions for these member variables. create a program that does the following: create a function enterncustomers (int n) that asks to enter n number customers. all the customer fields must be filled in, and the result of the function is a vector containing n customer objects. note that you may read customer info in from a text file - it's up to you. user input or input from a file. create another function that displays all the customer information to the console.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 18:30, aalyssag606
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
image
Computers and Technology, 24.06.2019 02:40, homework1911
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
image
Computers and Technology, 24.06.2019 08:30, trashellyoung
Why might you choose to create a functional resume
Answers: 1
image
Computers and Technology, 25.06.2019 05:00, Kadyn5
Carmina works at a fast-food restaurant. during the slow afternoon hours, carmina always find projects to keep her busy, like washing all the trays or deep-cleaning the drive-thru area. what workplace habit does carmina show by doing this? efficiency initiative interpersonal skills problem solving
Answers: 1
You know the right answer?
Persondata and customerdata classes design a class named persondata with the following member variab...

Questions in other subjects: