Final answer:
The smallest number of comparisons needed to find a number that is neither the minimum nor the maximum is n-1.
Step-by-step explanation:
To find a number that is neither the minimum nor the maximum among n numbers, we need to perform n-2 comparisons. This is because we can eliminate the minimum and maximum numbers with two comparisons, and then we are left with n-2 numbers, among which we can find the number we are looking for. Therefore, the smallest number of comparisons needed is (n-2), which is equivalent to option a) (n-1).