Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started