Let $p$ and $q$ be odd primes and let $m$ and $n$ be positive integers. Explain why $U(p^m)\times U(q^n)$ is not cyclic.
Attempt-
$$ \begin{align*} U(p^m) \times U(q^n) &\cong \mathbb{Z}_{p^m-p^{m-1}} \times \mathbb{Z}_{q^n-q^{n-1}} \\ & \cong \mathbb{Z}_{p^{m-1}} \times \mathbb{Z}_{p-1} \times \mathbb{Z}_{q^{n-1}}\times \mathbb{Z}_{q-1} \end{align*} $$
Since $|\mathbb{Z}_{q-1}|$ and $|\mathbb{Z}_{p-1}|$ are not relatively prime , $U(p^m) \times U(q^n)$ is not cyclic.
Is my attempt correct?
You have the right idea but it can be simplified and made more precise:
This is based on the following argument: