Explanation
Step 1: Determine the positions of X and Y from the front
Step 2: Determine the position of Z from the front
Z is exactly in the middle of X (position 1) and Y (position 5).
The middle position can be found using the average formula:
Position of Z=21+5=26=3
So, Z is at the 3rd position from the front.
Step 3: Calculate the total number of people in the queue
We are given that Z is at the 7th position from the end of the queue.
The standard ranking formula to find the total number of people is:
Total Persons=(Position from Front)+(Position from End)−1
Substituting the values for Z:
Total Persons=3+7−1=9
Final Answer
There are 9 persons in the queue.
Correct Option: (c) 9