Also, rethink your formula for occupancy rate.
Type: Posts; User: Ozicron
Also, rethink your formula for occupancy rate.
totalRooms is getting increased multiple times per floor in your code. An infinite amount of times if the user repeatedly inputs less than 10 rooms.