M, N, O, P, Q, R, and S are seven people living on seven different floors of a building but not necessarily in the same order. The lowermost floor of the building is numbered 1, the one above that is numbered 2 and so on till the topmost floor is numbered 7. Each one of them have different income i.e. 3500, 15000, 7500, 9000, 11000, 13500 and 5000. (But not necessarily in the same order.)
M lives on an odd numbered floor but not on the floor numbered 3. The one who has income of 11000 lives immediately above M. Only two people live between M and the one who has income of 7500. The one who has income 15000 lives on one of the odd numbered floors above P. P lives on odd numbered floor. Only three people live between O and the one who has income of 15000. The one, whose income is 7500 lives immediately above O. The one, who has income of 3500 lives immediately above the one, who has income of 5000. S lives on an odd numbered floor but not on 3rd floor. Only one person lives between N and Q. N lives on one of the floors above Q. Neither O nor M has income of 9000. Q does not have income of 7500.
SOLUTION
Floor: 1 to 7 | Person: M, N, O, P, Q, R, S | Income: 3500, 15000, 7500, 9000, 11000, 13500, 5000
M lives on an odd numbered floor but not on floor 3.
One whose income is 11000, lives immediately above M. ( There are two cases – M can live on floor 1 or 5).
Case-1
Case-2
Floor
Person
Income
Floor
Person
Income
7
7
6
11000
6
5
M
5
4
4
3
3
2
2
11000
1
1
M
Only two persons live between M and one whose income is 7500.
One who earns 7500 lives immediately above O.
Only three persons live between O and one whose income is 15000.
One whose income is 15000 lives on an odd numbered floor somewhere above P, who lives on an odd numbered floor.
Case-1
Case-2
Floor
Person
Income
Floor
Person
Income
7
7
15000
6
11000
6
5
M
15000
5
P
4
4
7500
3
P
3
O
2
7500
2
11000
1
O
1
M
S lives on an odd numbered floor.
One whose income is 3500 lives immediately above the one whose income is 5000.
Case-1
Case-2
Floor
Person
Income
Floor
Person
Income
7
S
7
S
15000
6
11000
6
3500
5
M
15000
5
P
5000
4
3500
4
7500
3
P
5000
3
O
2
7500
2
11000
1
O
1
M
Neither M nor O earns 9000. (So, case-2 is eliminated as it does not satisfy the condition)
Case-1
Case-2
(Eliminated)
Floor
Person
Income
Floor
Person
Income
7
S
9000
7
S
15000
6
11000
6
3500
5
M
15000
5
P
5000
4
3500
4
7500
3
P
5000
3
O
2
7500
2
11000
1
O
1
M
Q does not earn 7500.
Only one person lives between N and Q, where N lives above Q.