We are given
\[
\sin\theta=\frac{3}{5}.
\]
We know the identity:
\[
\sin^2\theta+\cos^2\theta=1.
\]
Substitute the value of \(\sin\theta\):
\[
\left(\frac{3}{5}\right)^2+\cos^2\theta=1.
\]
\[
\frac{9}{25}+\cos^2\theta=1.
\]
\[
\cos^2\theta=1-\frac{9}{25}.
\]
\[
\cos^2\theta=\frac{25}{25}-\frac{9}{25}.
\]
\[
\cos^2\theta=\frac{16}{25}.
\]
Taking square root:
\[
\cos\theta=\pm \frac{4}{5}.
\]
Since the quadrant of \(\theta\) is not given, \(\cos\theta\) can be positive or negative.
Therefore,
\[
\cos\theta=\frac{4}{5}\quad \text{or}\quad -\frac{4}{5}.
\]