Replace the string room number by a character array that stores a 3-character room number. Add the character pointer instance variable guest, which stores the name of the guest occupying the room. Replace the Get_Number() method by the method Display_Number(), which displays the room number, and add the method Display_Guest(), which displays the guest member. Replace the four-argument constructor by a five-argument constructor in which the first argument is the room number, the second argument is the room capacity, the third ar- gument is the room rate (defaulting to 89.00), the fourth argument is the guest
name (defaulting to the NULL pointer), and the fifth argument is the occupancy status (defaulting to zero).
Leave a comment