SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
PersonData and CustomerData Classes Design a class named PersonData with the following
member variables: - 1 astName - 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 - maitingList The
customerNumber variable will be used to hold a unique integer for each customer. The
mailingList variable should be a boo1. It will be set to true if the customer wishes to be on a
mailing list, or fal se if the customer does not wish to be on a mailing list. Write appropriate
accessor and mutator functions for these member variables. Demonstrate an object of the
CustomerData class in a simple program.

Weitere ähnliche Inhalte

Mehr von tuffail786

Pharoah Company has four operating divisions. During the first quarte.pdf
 Pharoah Company has four operating divisions. During the first quarte.pdf Pharoah Company has four operating divisions. During the first quarte.pdf
Pharoah Company has four operating divisions. During the first quarte.pdftuffail786
 
Pharoah Company has a balance in its Accounts Payable control account.pdf
 Pharoah Company has a balance in its Accounts Payable control account.pdf Pharoah Company has a balance in its Accounts Payable control account.pdf
Pharoah Company has a balance in its Accounts Payable control account.pdftuffail786
 
Pettijohn Inc. The balance sheet and income statement shown below a.pdf
 Pettijohn Inc. The balance sheet and income statement shown below a.pdf Pettijohn Inc. The balance sheet and income statement shown below a.pdf
Pettijohn Inc. The balance sheet and income statement shown below a.pdftuffail786
 
Person or People Write a single print statement that prints 1 person.pdf
 Person or People Write a single print statement that prints 1 person.pdf Person or People Write a single print statement that prints 1 person.pdf
Person or People Write a single print statement that prints 1 person.pdftuffail786
 
payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdf
 payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdf payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdf
payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdftuffail786
 
Pe fumtinace Porformance revicu may be done for p.pdf
 Pe fumtinace Porformance revicu may be done for p.pdf Pe fumtinace Porformance revicu may be done for p.pdf
Pe fumtinace Porformance revicu may be done for p.pdftuffail786
 
People often criticize Null Hypothesis Significance Testing (NHST) be.pdf
 People often criticize Null Hypothesis Significance Testing (NHST) be.pdf People often criticize Null Hypothesis Significance Testing (NHST) be.pdf
People often criticize Null Hypothesis Significance Testing (NHST) be.pdftuffail786
 
Pass by Value (this term to be explained later - not necessary to und.pdf
 Pass by Value (this term to be explained later - not necessary to und.pdf Pass by Value (this term to be explained later - not necessary to und.pdf
Pass by Value (this term to be explained later - not necessary to und.pdftuffail786
 
Part V - Living with SEDC and Future Prospects When Janet was searchi.pdf
 Part V - Living with SEDC and Future Prospects When Janet was searchi.pdf Part V - Living with SEDC and Future Prospects When Janet was searchi.pdf
Part V - Living with SEDC and Future Prospects When Janet was searchi.pdftuffail786
 
parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdf
 parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdf parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdf
parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdftuffail786
 
Paseo del cementerio Pasaje TEAS VI Caminata por el cementerio S.pdf
 Paseo del cementerio Pasaje TEAS VI  Caminata por el cementerio S.pdf Paseo del cementerio Pasaje TEAS VI  Caminata por el cementerio S.pdf
Paseo del cementerio Pasaje TEAS VI Caminata por el cementerio S.pdftuffail786
 
Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdf
 Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdf Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdf
Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdftuffail786
 
�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdf
�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdf�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdf
�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdftuffail786
 
�Cu�l de los siguientes es cierto de los vendedores a. Desempe�an .pdf
�Cu�l de los siguientes es cierto de los vendedores  a. Desempe�an .pdf�Cu�l de los siguientes es cierto de los vendedores  a. Desempe�an .pdf
�Cu�l de los siguientes es cierto de los vendedores a. Desempe�an .pdftuffail786
 
�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdf
�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdf�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdf
�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdftuffail786
 
�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdf
�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdf�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdf
�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdftuffail786
 
�Cu�l de los siguientes describe correctamente el tratamiento contab.pdf
�Cu�l de los siguientes describe correctamente el tratamiento contab.pdf�Cu�l de los siguientes describe correctamente el tratamiento contab.pdf
�Cu�l de los siguientes describe correctamente el tratamiento contab.pdftuffail786
 
�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdf
�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdf�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdf
�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdftuffail786
 
�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdf
�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdf�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdf
�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdftuffail786
 
�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdf
�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdf�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdf
�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdftuffail786
 

Mehr von tuffail786 (20)

Pharoah Company has four operating divisions. During the first quarte.pdf
 Pharoah Company has four operating divisions. During the first quarte.pdf Pharoah Company has four operating divisions. During the first quarte.pdf
Pharoah Company has four operating divisions. During the first quarte.pdf
 
Pharoah Company has a balance in its Accounts Payable control account.pdf
 Pharoah Company has a balance in its Accounts Payable control account.pdf Pharoah Company has a balance in its Accounts Payable control account.pdf
Pharoah Company has a balance in its Accounts Payable control account.pdf
 
Pettijohn Inc. The balance sheet and income statement shown below a.pdf
 Pettijohn Inc. The balance sheet and income statement shown below a.pdf Pettijohn Inc. The balance sheet and income statement shown below a.pdf
Pettijohn Inc. The balance sheet and income statement shown below a.pdf
 
Person or People Write a single print statement that prints 1 person.pdf
 Person or People Write a single print statement that prints 1 person.pdf Person or People Write a single print statement that prints 1 person.pdf
Person or People Write a single print statement that prints 1 person.pdf
 
payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdf
 payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdf payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdf
payments for the frst quater of 2004 Cash Anceipta trem Cuktomers Acc.pdf
 
Pe fumtinace Porformance revicu may be done for p.pdf
 Pe fumtinace Porformance revicu may be done for p.pdf Pe fumtinace Porformance revicu may be done for p.pdf
Pe fumtinace Porformance revicu may be done for p.pdf
 
People often criticize Null Hypothesis Significance Testing (NHST) be.pdf
 People often criticize Null Hypothesis Significance Testing (NHST) be.pdf People often criticize Null Hypothesis Significance Testing (NHST) be.pdf
People often criticize Null Hypothesis Significance Testing (NHST) be.pdf
 
Pass by Value (this term to be explained later - not necessary to und.pdf
 Pass by Value (this term to be explained later - not necessary to und.pdf Pass by Value (this term to be explained later - not necessary to und.pdf
Pass by Value (this term to be explained later - not necessary to und.pdf
 
Part V - Living with SEDC and Future Prospects When Janet was searchi.pdf
 Part V - Living with SEDC and Future Prospects When Janet was searchi.pdf Part V - Living with SEDC and Future Prospects When Janet was searchi.pdf
Part V - Living with SEDC and Future Prospects When Janet was searchi.pdf
 
parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdf
 parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdf parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdf
parte 3 SR es una mujer de 65 a�os que acude al servicio de.pdf
 
Paseo del cementerio Pasaje TEAS VI Caminata por el cementerio S.pdf
 Paseo del cementerio Pasaje TEAS VI  Caminata por el cementerio S.pdf Paseo del cementerio Pasaje TEAS VI  Caminata por el cementerio S.pdf
Paseo del cementerio Pasaje TEAS VI Caminata por el cementerio S.pdf
 
Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdf
 Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdf Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdf
Part III Four types of goods 4. (1 point total,0.25 points each) Be.pdf
 
�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdf
�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdf�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdf
�Cu�l de los siguientes es cierto para los transposones de ADN sele.pdf
 
�Cu�l de los siguientes es cierto de los vendedores a. Desempe�an .pdf
�Cu�l de los siguientes es cierto de los vendedores  a. Desempe�an .pdf�Cu�l de los siguientes es cierto de los vendedores  a. Desempe�an .pdf
�Cu�l de los siguientes es cierto de los vendedores a. Desempe�an .pdf
 
�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdf
�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdf�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdf
�Cu�l de los siguientes es cierto con respecto a los dividendos Opc.pdf
 
�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdf
�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdf�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdf
�Cu�l de los siguientes describe mejor la ruta de una RFP 1- Un c.pdf
 
�Cu�l de los siguientes describe correctamente el tratamiento contab.pdf
�Cu�l de los siguientes describe correctamente el tratamiento contab.pdf�Cu�l de los siguientes describe correctamente el tratamiento contab.pdf
�Cu�l de los siguientes describe correctamente el tratamiento contab.pdf
 
�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdf
�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdf�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdf
�Cu�l de los siguientes cuatro elementos es fundamental para la ejec.pdf
 
�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdf
�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdf�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdf
�Cu�l de los siguientes debe hacer un gerente de proyecto para crear.pdf
 
�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdf
�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdf�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdf
�Cu�l de los siguientes describe mejor el programa de respaldo utili.pdf
 

Kürzlich hochgeladen

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Kürzlich hochgeladen (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 

PersonData and CustomerData Classes Design a class named PersonData w.pdf

  • 1. PersonData and CustomerData Classes Design a class named PersonData with the following member variables: - 1 astName - 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 - maitingList The customerNumber variable will be used to hold a unique integer for each customer. The mailingList variable should be a boo1. It will be set to true if the customer wishes to be on a mailing list, or fal se if the customer does not wish to be on a mailing list. Write appropriate accessor and mutator functions for these member variables. Demonstrate an object of the CustomerData class in a simple program.