Wireless sensor network (WSN) is formed by a large number of low-cost sensors. In order to exchange information, sensor nodes communicate in an ad hoc manner. The acquired information is useful only when the location of sensors is known. To use GPS-aided devices in each sensor makes sensors more costly and energy hungry. Hence, finding the location of nodes in WSNs becomes a major issue. In this paper, the authors propose a combination of range based and range-free localization scheme. In their scheme, for finding the distance, they use received signal strength indication (RSSI), which is a range based center of gravity technique. For finding the location of non-anchor nodes, the authors assign weights to anchor and non-anchor nodes based on received signal strength. The weight, which is assigned to anchor and non-anchor nodes, are designed by fuzzy logic system (FLS).