Three persons are living above D. No one is living above the one who go to Bangalore. The one who goes to Patna is living at floor number 2. C is living at one of the floors above D but does not go to Bangalore. So, we have two cases: \ Three persons are living between E and H, who goes to Kanpur and living at one of the floors above E. The number of persons living above the one who goes to Kanpur is the same as the number of persons below the one who goes to Agra. E does not go to Indore and Meerut and is not living on an even numbered floor. So, the case-2 is eliminated. The one who goes to Nagpur lives on an even numbered floor below D. A does not live on an odd numbered floor but is living immediately above the one who goes to Ranchi. There are two persons are living between F and G who does not go to Ranchi. The one who goes to Indore lives immediately above the one who goes to Meerut. I does not go to Meerut. The final arrangement: