HotelRoom class programming . Replace Disply_Number() and Display_Guest() methods by the methods Get_Number() and Get_Guest(), respectively , so that each returns a pointer to the corresponding instance variable. Recode main() as necessary .

To replace the `Display_Number()` and `Display_Guest()` methods with the `Get_Number()` and `Get_Guest()` methods in the `HotelRoom` class, you will need to make a few changes. Here's how you can do it:

1. Modify the `HotelRoom` class by adding the `Get_Number()` and `Get_Guest()` methods. These methods should return pointers to the corresponding instance variables.

```cpp
class HotelRoom {
private:
int* number; // Pointer to the room number
string* guest; // Pointer to the guest name

public:
// Constructor
HotelRoom(int roomNumber, const string& guestName) {
number = new int(roomNumber);
guest = new string(guestName);
}

// Destructor
~HotelRoom() {
delete number;
delete guest;
}

// Get the pointer to the room number
int* Get_Number() {
return number;
}

// Get the pointer to the guest name
string* Get_Guest() {
return guest;
}
};
```

2. Update the `main()` function to use the `Get_Number()` and `Get_Guest()` methods instead of the old display methods. You will also need to dereference the pointers to get the actual values.

```cpp
int main() {
HotelRoom room(101, "John Doe");

// Get the room number pointer
int* roomNumber = room.Get_Number();

// Get the guest name pointer
string* guestName = room.Get_Guest();

// Display the room number and guest name
cout << "Room number: " << *roomNumber << endl;
cout << "Guest name: " << *guestName << endl;

// Clean up the memory
delete roomNumber;
delete guestName;

return 0;
}
```

Note that since the `Get_Number()` and `Get_Guest()` methods return pointers to the instance variables, you need to dereference the pointers using the `*` operator to get the actual values. After using the values, make sure to clean up the memory by deleting the pointers.