"perRoomOccupied" is declared as an 'int' when it should be a 'double' or a 'float'.EDIT Also you should either declare or cast "occupiedRooms" and "totalRooms" to match "perRoomOccupied".
You can live without "totalOccupied" since it's the same value as "occupiedRooms". The same with "totalRooms" and "numRooms".
Should "roomCount" be "floorCount" instead? This would make it easier to understand.