The problem requires us to determine the floor on which person E lives, given a set of conditions about seven people (A, B, C, D, E, F, G) living on seven different floors (numbered 1 to 7).
We start by placing the person whose floor is explicitly given:
We use the clue: "Only two persons live between B and D."
We use the clue: "Only one person live between D and A."
Current Occupancy:
Remaining Floors: 1, 2, 5, 7. People remaining: C, E, F, G.
We use the clue: "G lives immediately below E."
This means E and G occupy adjacent floors (\(E_{floor} = G_{floor} + 1\)). We check possible placements on the remaining floors (1, 2, 5, 7):
Therefore, E lives on Floor 2 and G lives on Floor 1.
We use the clues: "Only one person lives between F and C" and "C does not live on the topmost floor (Floor 7)."
Thus, C lives on Floor 5 and F lives on Floor 7.
The complete arrangement of people on the floors is:
| Floor | Person |
|---|---|
| 7 | F |
| 6 | D |
| 5 | C |
| 4 | A |
| 3 | B |
| 2 | E |
| 1 | G |
Based on the deductions, E lives on Floor 2.
Read the following information carefully and answer the question that follows.
Five coaching classes — P, Q, R, S, and T — are located on five different floors numbered 1, 2, 3, 4, and 5, but not necessarily in the same order. Each coaching class teaches only one of the following subjects: Physics, Chemistry, Mathematics, Biology, and English, but not necessarily in the same order.
Based on the above information, determine on which floor Mathematics is taught.