Step 1: Understanding the Concept
Convert to sine and cosine: \(\frac{\cot x}{\cot x+\operatorname{cosec}x}=\frac{\cos x}{\cos x+1}\).
Step 2: Split
\(\frac{\cos x}{1+\cos x}=1-\frac{1}{1+\cos x}=1-\frac{1}{2}\sec^2\frac{x}{2}\).
Step 3: Integrate over the limits
\(\left[x-\tan\frac{x}{2}\right]_0^{\pi/2}=\frac{\pi}{2}-1\).
Step 4: Compare with the form
\(\frac{\pi}{2}-1=\frac{1}{2}(\pi-2)=m(\pi+n)\), so \(m=\frac{1}{2}\), \(n=-2\) and \(mn=-1\).
Final Answer:
The product \(mn\) equals \(-1\).
\[ \boxed{\text{(B) }-1} \]