Here is a rather simple class definition:
class Person {
private:
string lname; // Person’s last name
string fname; // Person’s first name
public:
Person(); // Constructor to initialize lname and fname
// the following methods display lname and fname
void Show() const; // firstname lastname format
void FormalShow() const; // lastname, firstname format
};
Write a program that completes the implementation by providing code for the undefined methods. The program in which you use the class should also use the constructor calls (two arguments) and the two display methods.