A house is made up of a number of rooms and each room has its…