Step 1: Understanding the Question:
The integrand cannot be integrated directly. But the limits are \(0\) and \(\frac{\pi}{2}\), and \(\cos\) and \(\sin\) swap into each other when \(x\) is replaced by \(\frac{\pi}{2} - x\). So we use the property of definite integrals.
Step 2: Key Formula:
\[ \int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx \]
Here \(a = \frac{\pi}{2}\). Also \(\cos\left(\frac{\pi}{2} - x\right) = \sin x\) and \(\sin\left(\frac{\pi}{2} - x\right) = \cos x\).
Step 3: Apply the property:
Let
\[ I = \int_0^{\pi/2} \frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}}\, dx \quad \cdots (1) \]
Replace \(x\) by \(\frac{\pi}{2} - x\):
\[ I = \int_0^{\pi/2} \frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}}\, dx \quad \cdots (2) \]
Step 4: Add (1) and (2):
\[ 2I = \int_0^{\pi/2} \frac{\sqrt{\cos x} + \sqrt{\sin x}}{\sqrt{\cos x} + \sqrt{\sin x}}\, dx = \int_0^{\pi/2} 1\, dx = \frac{\pi}{2} \]
So \(I = \frac{\pi}{4}\).
Final Answer:
The integral equals one quarter of \(\pi\).
\[ \boxed{\frac{\pi}{4}} \]