Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instrcution: Create a .cpp for the header file header Code: #include ; #include ; #include ; using namespace std; namespace college { struct Date {

Instrcution: Create a .cpp for the header file

header Code:

#include ;

#include ;

#include ;

using namespace std;

namespace college

{

struct Date

{

int month, day, year;

};//Date

class Person

{

private:

string firstname,lastname, address, city, state, zip, phonenumber, ethnicity, Gender, maritalstatus, personnelemail;

Date DOB;

int age, ssnumber;

public:

Person();

Person (string, Date);

string get_fistname();

string get_lastname(),

Person(string address, string city, string state, string phonenumber, string ethnicity, string Gender, string maritalstatus, string personnelemail);

Date get_DOB();

void getaddress(string);

void getcity(string);

void getstate(string);

void getphonenumber(string);

void getethnicity(string);

void getgender(string);

void getmaritalstatus(string);

void getpersonnelemail(string);

void set_dob(Date);

void set_name(string);

void print();

};//Person

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Describe Balor method and give the chemical reaction.

Answered: 1 week ago

Question

How to prepare washing soda from common salt?

Answered: 1 week ago

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago