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, 21.06.2019 22:30, ayoismeisjuam
What are compression artifacts? 1) visible defects in the picture caused by the nature of the compression algorithm. 2) numbers that tell a web server how much to compress a picture for faster transmission. 3) invisible defects in the picture preserved by lossless compression. 4) numbers that tell a photo editing program how much to compress a picture for faster transmission.
Answers: 3
image
Computers and Technology, 22.06.2019 03:00, seddy86
Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". any value that is the same as the immediately preceding value is considered a consecutive duplicate. in this example, there are three such consecutive duplicates: the 2nd and 3rd 5s and the second 6. note that the last 3 is not a consecutive duplicate because it was preceded by a 7. write some code that uses a loop to read such a sequence of non-negative integers , terminated by a negative number. when the code finishes executing, the number of consecutive duplicates encountered is printed. in this case, 3 would be printed. assume the availability of a variable, stdin, that references a scanner object associated with standard input. that is, stdin = new scanner(system. in); is given.
Answers: 1
image
Computers and Technology, 23.06.2019 16:30, rileysndr1782
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
image
Computers and Technology, 23.06.2019 22:30, delawdermia27
The output voltage of a power supply is assumed to be normally distributed. sixteen observations are taken at random on voltage are as follows: 10.35, 9.30, 10.00, 9.96, 11.65, 12.00, 11.25, 9.58, 11.54, 9.95, 10.28, 8.37, 10.44, 9.25, 9.38, and 10.85
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: