Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include<iostream>
- using namespace std;
- #include<string>
- #include <ctype.h>
- class Person
- {
- protected:
- string first_name;
- string last_name;
- string address;
- string phoneNo;
- char gender;
- int age;
- string email;
- public:
- Person();
- Person(string,string,int,string,string,string,char);
- bool is_number(string &s);
- void set_firstname(string);
- string get_firstname();
- void set_lastname(string);
- string get_lastname();
- void set_address(string);
- string get_address();
- void set_phoneNo(string);
- string get_phoneNo();
- void set_gender(char);
- char get_gender();
- void set_age(int);
- int get_age();
- void set_email(string);
- string get_email();
- ~Person();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement