I'm working on an if and only if proof for discrete math and need help.
Let $c$ and $d$ be integers and let $C=\{x\in\mathbb{Z}:x\mid c\}$ and $D=\{x\in\mathbb{Z}:x\mid d\}$. Prove $C\subseteq D$ if and only if $c\mid d$.
How do I show if $C\subseteq D$, then $c\mid d$?
Or, how do I show if $c\mid d$ then $C\subseteq D$?