#include #include using namespace std; class person { public: string name; int age; }; int main () { person a, b; a.name = "Calvin"; b.name = "Hobbes"; a.age = 30; b.age = 20; cout << a.name << ": " << a.age << endl; cout << b.name << ": " << b.age << endl; getchar(); return 0; }