#include #include using namespace std; struct Teacher { string Name; // "string" same as "char*" string Address; char* City; long Phone; }; int main() { Teacher A; Teacher B; A.Name = "Bob"; A.Address = "192 Nowhere Land"; A.City = "San Jose"; A.Phone = 6432333; B.Name = "Barb"; B.Address = "123 The Street"; B.City = "Campbell"; B.Phone = 4299996; cout << A.Name << ", " << A.Address << ", "<< A.City << ", " << A.Phone << endl; cout << B.Name << ", " << B.Address << ", "<< B.City << ", " << B.Phone << endl << endl; cout << "Enter a new name for A: "; cin >> A.Name; cout << "Thanks, here is the new info..." << endl << endl; cout << A.Name << ", " << A.Address << ", "<< A.City << ", " << A.Phone << endl; getchar(); getchar(); return 0; }