Jammu and Kashmir has been battered by incessant heavy rains, triggering flash floods and leading to loss of lives.