Correct option is C
Solution:
Step 1: Analyze the given clues.
The artist has to go up three floors to meet the engineer.
This means the engineer is three floors above the artist.The engineer has to come down four floors to visit the doctor.
This means the doctor is four floors below the engineer.The lawyer lives just one floor above the teacher.
Step 2: Arrange based on the clues.
Since the building has five floors, let us assume the floors are numbered from 1 to 5 (from bottom to top).
Start with the engineer's position since it determines the others:
- If the engineer is on the 5th floor, the artist (three floors below) must be on the 2nd floor.
- The doctor (four floors below the engineer) must be on the 1st floor.
The remaining positions (3rd and 4th floors) are occupied by the teacher and lawyer, respectively.
- Since the lawyer is one floor above the teacher, the teacher must be on the 3rd floor and the lawyer on the 4th floor.
Step 3: Final arrangement.
From the lowest to the topmost floor:
- 1st floor: Doctor
- 2nd floor: Artist
- 3rd floor: Teacher
- 4th floor: Lawyer
- 5th floor: Engineer