Directions: Eight persons A, B, C, D, E, F, G and H live in an eight-storey building. Each of them likes different fruits viz Mango, Banana, Guava, Grape, Kiwi, Litchi, Strawberry and Raspberry, but not necessarily in the same order.
The Lowermost floor is numbered 1 and the topmost floor is numbered 8.
There is only one floor between the one who likes Guava and the one who likes Raspberry.
There are two floors between the one who likes Banana and C.
F lives on an even numbered floor and likes Strawberry.
Neither A nor B likes Banana or Kiwi.
The one who likes Grape lives on floor no. 1.
There are three floors between the floor on which B lives and the floor on which E lives.
F lives above C, who does not live on first floor but likes Mango.
Only one person lives between the one who likes Kiwi and the one who likes Banana.
The one who likes Guava lives on the topmost floor.
H does not like Guava.
G lives on the floor number which is between A and F. B lives above E and A.People: A, B, C, D, E, F, G and H.
Fruits: Mango, Banana, Guava, Grape, Kiwi, Litchi, Strawberry and Raspberry.
1. The one who likes Guava lives on the topmost floor.
2. The one who likes Grape lives on floor no. 1.
3. There is only one floor between the one who likes Guava and the one who likes Raspberry.
Floors |
Fruits |
Persons |
8 |
Guava |
|
7 |
|
|
6 |
Raspberry |
|
5 |
|
|
4 |
|
|
3 |
|
|
2 |
|
|
1 |
Grape |
|
4. F lives on an even numbered floor and likes Strawberry.Here, two cases will be formed because F can live on either 2nd floor or 4th floor.
5. There are two floors between the one who likes Banana and C.
6. F lives above C, who does not live on first floor but likes Mango.
Case I:
Floors |
Fruits |
Persons |
8 |
Guava |
|
7 |
|
|
6 |
Raspberry |
|
5 |
Banana |
|
4 |
Strawberry |
F |
3 |
|
|
2 |
Mango |
C |
1 |
Grape |
|
Case II:
Floors |
Fruits |
Persons |
8 |
Guava |
|
7 |
Banana |
|
6 |
Raspberry |
|
5 |
|
|
4 |
Mango |
C |
3 |
|
|
2 |
Strawberry |
F |
1 |
Grape |
|
Thus, Case II gets eliminated as it opposes statement 6.
7. G lives on the floor number which is between A and F.Here, two cases can be formed as A can live either on 6th floor or on 8th floor.
Case I (a):
Floors |
Fruits |
Persons |
8 |
Guava |
|
7 |
|
|
6 |
Raspberry |
A |
5 |
Banana |
G |
4 |
Strawberry |
F |
3 |
|
|
2 |
Mango |
C |
1 |
Grape |
|
Case I (b):