#include<iostream>
#include<string>
using namespace std;
class clsPerson
{
private:
string _FirstName;
string _LastName;
public:
void SetFirstName(string FirstName)
{
_FirstName = FirstName;
}
string FirstName()
{
return _FirstName;
}
void SetLastName(string LastName)
{
_LastName = LastName;
}
string LastName()
{
return _LastName;
}
string FullName()
{
return _FirstName + " " + _LastName;
}
};
int main()
{
clsPerson Person1;
Person1.SetFirstName("Ahmed");
Person1.SetLastName("Samir");
cout << "First Name: " << Person1.FirstName() << endl;
cout << "Last Name: " << Person1.LastName() << endl;
cout << "Full Name: " << Person1.FullName() << endl;
return 0;
}