#include <iostream>
using namespace std;
class Employee{
string name;
string Company;
int Age;
public:
string getName(){
return name;
}
string getCompany(){
return Company;
}
int getAge(){
return Age;
}
void setName(string newName){
name = newName;
}
void setCompany(string newCompany){
Company = newCompany;
}
void setAge(int newAge){
Age = newAge;
}
};
int main()
{
Employee Employee1;
cout << "Employee 1 Name Before: " << Employee1.getName() << endl;
Employee1.setName("David");
cout << "Employee 1 Name After: " << Employee1.getName() << endl << endl;
cout << "Employee 1 Company Before: " << Employee1.getCompany() << endl;
Employee1.setCompany("Google");
cout << "Employee 1 Name After: " << Employee1.getCompany() << endl << endl;
cout << "Employee 1 Age Before: " << Employee1.getAge() << endl;
Employee1.setAge(19);
cout << "Employee 1 Name After: " << Employee1.getAge() << endl << endl;
return 0;
}