It sometimes happens at a hotel that a guest wants to betransferred from one room to another. In the HotelRoom class ofChapters 11 and 12 add a friend function transfer() that transfersa guest from one room to another. The function should have twoarguments. The first argument should be the number of the room youare transferring guests from; the second argument should be theroom number you are transferring guests to. The function shouldmake appropriate changes to the occupancy status of both rooms.Code a main() to test the new friend function.