Ramu ranks 5th in the class. Raju is 8th from the last. If Rani 6th after Ramu and just in the middle of Ramu and Raju. How many students are there in the class?
Answer: D
Correct answer: 24
Build the positions from the front. Ramu is 5th. Rani is six places after him, so Rani is 11th.
Rani is midway between Ramu and Raju, so Raju is as far beyond Rani as Rani is beyond Ramu - six more places, putting Raju 17th from the front.
Raju is also 8th from the last, so the class holds
\[ 17 + 8 - 1 = 24 \]
The subtraction avoids counting Raju twice, once from each end.
Please log in or register to report this question.