Step 1: Concept
For a function $f(x)$ to be continuous at $x = a$, we must have $\lim_{x \to a} f(x) = f(a)$.
Step 2: Meaning
Here, we require $\lim_{x \to \pi/2} \frac{k \cos x}{\pi - 2x} = 3$.
Step 3: Analysis
Let $x = \frac{\pi}{2} + h$. As $x \to \frac{\pi}{2}$, $h \to 0$.
\[ \lim_{h \to 0} \frac{k \cos\left(\frac{\pi}{2} + h\right)}{\pi - 2\left(\frac{\pi}{2} + h\right)} = \lim_{h \to 0} \frac{-k \sin h}{-2h} = \lim_{h \to 0} \frac{k \sin h}{2h} \]
Since $\lim_{h \to 0} \frac{\sin h}{h} = 1$:
\[ \frac{k}{2} = 3 \implies k = 6 \]
Step 4: Conclusion
The value of $k$ for the function to be continuous is $6$.
Final Answer: (A)