#include #include using namespace std ; class Person { public: string firstName ; string lastName ; int age ; void print() { cout << "Name:" << firstName << " " << lastName << " Age: " << age << endl ; } }; int main() { Person personObj ; personObj.firstName = "Robert" ; personObj.lastName = "Newman" ; personObj.age = 82 ; personObj.print() ; return 0 ; }