Step 1: Understanding the Concept
Let there be n students and choose 5.
Step 2: Both Selected
Choose the remaining 3 from \(n-2\): \(\binom{n-2}{3}\) ways.
Step 3: Both Not Selected
Choose all 5 from \(n-2\): \(\binom{n-2}{5}\) ways.
Step 4: Set the Ratio
\(\dfrac{\binom{m}{3}}{\binom{m}{5}}=\dfrac{20}{(m-3)(m-4)}=\dfrac23\) with \(m=n-2\), so \((m-3)(m-4)=30\).
Step 5: Solve
\(m^2-7m-18=0\Rightarrow m=9\), so \(n=11\).
Final Answer:
The value of n is 11.
\[ \boxed{\text{(C) }11} \]