SlideShare a Scribd company logo
Modify your personType class to include 3 constructors: (In C++)
1. default constructor that takes no parameters
2. constructor which is only passed first name and last name
3. constructor which is passed all the data members.
4. Create 1 destructor as shown during the zoom meeting, but do not call it within int main();
Create a driver program that creates 3 different people using the 3 different constructors. After
creating the 3 different people using your 3 different constructors, finish populating them using
the appropriate setters in int main(). Finally, neatly print them. (pictures are in order,
personType.h, personType.cpp, driver.cpp)
using Linux terminal if possible

More Related Content

More from KOCHHARHOSY

MS can eventually lead to axon degeneration because oligodendrocytes p (1).pdf
MS can eventually lead to axon degeneration because oligodendrocytes p (1).pdfMS can eventually lead to axon degeneration because oligodendrocytes p (1).pdf
MS can eventually lead to axon degeneration because oligodendrocytes p (1).pdf
KOCHHARHOSY
 
Ms- Carol Ramirez is a new resident in a long-term care facility based.pdf
Ms- Carol Ramirez is a new resident in a long-term care facility based.pdfMs- Carol Ramirez is a new resident in a long-term care facility based.pdf
Ms- Carol Ramirez is a new resident in a long-term care facility based.pdf
KOCHHARHOSY
 
Mr-X an individual is curiously researching to find what type of inves.pdf
Mr-X an individual is curiously researching to find what type of inves.pdfMr-X an individual is curiously researching to find what type of inves.pdf
Mr-X an individual is curiously researching to find what type of inves.pdf
KOCHHARHOSY
 
Ms- Petrie is a second-grade teacher- She realizes influenza season is (1).pdf
Ms- Petrie is a second-grade teacher- She realizes influenza season is (1).pdfMs- Petrie is a second-grade teacher- She realizes influenza season is (1).pdf
Ms- Petrie is a second-grade teacher- She realizes influenza season is (1).pdf
KOCHHARHOSY
 
Mrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdf
Mrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdfMrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdf
Mrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdf
KOCHHARHOSY
 
Moving to another question will save this response Question 16 Part Ma.pdf
Moving to another question will save this response Question 16 Part Ma.pdfMoving to another question will save this response Question 16 Part Ma.pdf
Moving to another question will save this response Question 16 Part Ma.pdf
KOCHHARHOSY
 
Most of the brightest stars in the sky are Select an answer and submit.pdf
Most of the brightest stars in the sky are Select an answer and submit.pdfMost of the brightest stars in the sky are Select an answer and submit.pdf
Most of the brightest stars in the sky are Select an answer and submit.pdf
KOCHHARHOSY
 
Mr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdf
Mr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdfMr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdf
Mr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdf
KOCHHARHOSY
 
Mr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdf
Mr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdfMr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdf
Mr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdf
KOCHHARHOSY
 
MPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdf
MPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdfMPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdf
MPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdf
KOCHHARHOSY
 
mplete the following paragraph to explain the location and function of.pdf
mplete the following paragraph to explain the location and function of.pdfmplete the following paragraph to explain the location and function of.pdf
mplete the following paragraph to explain the location and function of.pdf
KOCHHARHOSY
 
Most lineages (species- genera- and broader clades) in North and Sout.pdf
Most lineages (species- genera- and broader clades)  in North and Sout.pdfMost lineages (species- genera- and broader clades)  in North and Sout.pdf
Most lineages (species- genera- and broader clades) in North and Sout.pdf
KOCHHARHOSY
 
Montserrat is studying creativity- She rates people's art on a scale o.pdf
Montserrat is studying creativity- She rates people's art on a scale o.pdfMontserrat is studying creativity- She rates people's art on a scale o.pdf
Montserrat is studying creativity- She rates people's art on a scale o.pdf
KOCHHARHOSY
 
Model organisms serve an important role in understanding human develop.pdf
Model organisms serve an important role in understanding human develop.pdfModel organisms serve an important role in understanding human develop.pdf
Model organisms serve an important role in understanding human develop.pdf
KOCHHARHOSY
 
Monoallelic expression is associated with which of the following- Mult.pdf
Monoallelic expression is associated with which of the following- Mult.pdfMonoallelic expression is associated with which of the following- Mult.pdf
Monoallelic expression is associated with which of the following- Mult.pdf
KOCHHARHOSY
 
Module 2- Spreadsheet Assignment I Graph each system of linear inequal.pdf
Module 2- Spreadsheet Assignment I Graph each system of linear inequal.pdfModule 2- Spreadsheet Assignment I Graph each system of linear inequal.pdf
Module 2- Spreadsheet Assignment I Graph each system of linear inequal.pdf
KOCHHARHOSY
 
Module 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdf
Module 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdfModule 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdf
Module 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdf
KOCHHARHOSY
 
modify the literal token so that it accepts unsigned floating point li (1).pdf
modify the literal token so that it accepts unsigned floating point li (1).pdfmodify the literal token so that it accepts unsigned floating point li (1).pdf
modify the literal token so that it accepts unsigned floating point li (1).pdf
KOCHHARHOSY
 
Minerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdf
Minerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdfMinerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdf
Minerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdf
KOCHHARHOSY
 
Michelle and Anthony met with the supervisor of the pizza division of.pdf
Michelle and Anthony met with the supervisor of the pizza division of.pdfMichelle and Anthony met with the supervisor of the pizza division of.pdf
Michelle and Anthony met with the supervisor of the pizza division of.pdf
KOCHHARHOSY
 

More from KOCHHARHOSY (20)

MS can eventually lead to axon degeneration because oligodendrocytes p (1).pdf
MS can eventually lead to axon degeneration because oligodendrocytes p (1).pdfMS can eventually lead to axon degeneration because oligodendrocytes p (1).pdf
MS can eventually lead to axon degeneration because oligodendrocytes p (1).pdf
 
Ms- Carol Ramirez is a new resident in a long-term care facility based.pdf
Ms- Carol Ramirez is a new resident in a long-term care facility based.pdfMs- Carol Ramirez is a new resident in a long-term care facility based.pdf
Ms- Carol Ramirez is a new resident in a long-term care facility based.pdf
 
Mr-X an individual is curiously researching to find what type of inves.pdf
Mr-X an individual is curiously researching to find what type of inves.pdfMr-X an individual is curiously researching to find what type of inves.pdf
Mr-X an individual is curiously researching to find what type of inves.pdf
 
Ms- Petrie is a second-grade teacher- She realizes influenza season is (1).pdf
Ms- Petrie is a second-grade teacher- She realizes influenza season is (1).pdfMs- Petrie is a second-grade teacher- She realizes influenza season is (1).pdf
Ms- Petrie is a second-grade teacher- She realizes influenza season is (1).pdf
 
Mrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdf
Mrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdfMrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdf
Mrs- Randazzo is an elderly woman admitted to the hospital from a nurs.pdf
 
Moving to another question will save this response Question 16 Part Ma.pdf
Moving to another question will save this response Question 16 Part Ma.pdfMoving to another question will save this response Question 16 Part Ma.pdf
Moving to another question will save this response Question 16 Part Ma.pdf
 
Most of the brightest stars in the sky are Select an answer and submit.pdf
Most of the brightest stars in the sky are Select an answer and submit.pdfMost of the brightest stars in the sky are Select an answer and submit.pdf
Most of the brightest stars in the sky are Select an answer and submit.pdf
 
Mr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdf
Mr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdfMr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdf
Mr- and Mrs- Faurah- an immierant couple in their early 70 '- have bee.pdf
 
Mr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdf
Mr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdfMr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdf
Mr and Mrs- Longfoot have been mamed for 52 years- They both have medi.pdf
 
MPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdf
MPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdfMPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdf
MPI Incorporated has $3 billion in assets- and its tax rate is 25-- It.pdf
 
mplete the following paragraph to explain the location and function of.pdf
mplete the following paragraph to explain the location and function of.pdfmplete the following paragraph to explain the location and function of.pdf
mplete the following paragraph to explain the location and function of.pdf
 
Most lineages (species- genera- and broader clades) in North and Sout.pdf
Most lineages (species- genera- and broader clades)  in North and Sout.pdfMost lineages (species- genera- and broader clades)  in North and Sout.pdf
Most lineages (species- genera- and broader clades) in North and Sout.pdf
 
Montserrat is studying creativity- She rates people's art on a scale o.pdf
Montserrat is studying creativity- She rates people's art on a scale o.pdfMontserrat is studying creativity- She rates people's art on a scale o.pdf
Montserrat is studying creativity- She rates people's art on a scale o.pdf
 
Model organisms serve an important role in understanding human develop.pdf
Model organisms serve an important role in understanding human develop.pdfModel organisms serve an important role in understanding human develop.pdf
Model organisms serve an important role in understanding human develop.pdf
 
Monoallelic expression is associated with which of the following- Mult.pdf
Monoallelic expression is associated with which of the following- Mult.pdfMonoallelic expression is associated with which of the following- Mult.pdf
Monoallelic expression is associated with which of the following- Mult.pdf
 
Module 2- Spreadsheet Assignment I Graph each system of linear inequal.pdf
Module 2- Spreadsheet Assignment I Graph each system of linear inequal.pdfModule 2- Spreadsheet Assignment I Graph each system of linear inequal.pdf
Module 2- Spreadsheet Assignment I Graph each system of linear inequal.pdf
 
Module 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdf
Module 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdfModule 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdf
Module 2- Country Differences PLEASE DO THE FOLLOWING 1) Describe and.pdf
 
modify the literal token so that it accepts unsigned floating point li (1).pdf
modify the literal token so that it accepts unsigned floating point li (1).pdfmodify the literal token so that it accepts unsigned floating point li (1).pdf
modify the literal token so that it accepts unsigned floating point li (1).pdf
 
Minerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdf
Minerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdfMinerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdf
Minerals Quartz K-Feldspar Staurolite Chlorite Kaolinite Garnet Muscov (1).pdf
 
Michelle and Anthony met with the supervisor of the pizza division of.pdf
Michelle and Anthony met with the supervisor of the pizza division of.pdfMichelle and Anthony met with the supervisor of the pizza division of.pdf
Michelle and Anthony met with the supervisor of the pizza division of.pdf
 

Recently uploaded

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 

Recently uploaded (20)

Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 

Modify your personType class to include 3 constructors- (In C++) 1- de.pdf

  • 1. Modify your personType class to include 3 constructors: (In C++) 1. default constructor that takes no parameters 2. constructor which is only passed first name and last name 3. constructor which is passed all the data members. 4. Create 1 destructor as shown during the zoom meeting, but do not call it within int main(); Create a driver program that creates 3 different people using the 3 different constructors. After creating the 3 different people using your 3 different constructors, finish populating them using the appropriate setters in int main(). Finally, neatly print them. (pictures are in order, personType.h, personType.cpp, driver.cpp) using Linux terminal if possible