Let $d \in \mathbb{Z}$, $d > 1$. Determine all the ideals of $\mathbb{Z}/d\mathbb{Z}$ which are prime or maximal
I know that $m\mathbb{Z}/md\mathbb{Z} \cong \mathbb{Z}/d\mathbb{Z}$ as rings without identity if and only if $(d,m)=1$.
I've been stuck on this problem for a good while. Is anyone is able to help me to solve this problem?