$A$ is a commutative ring with identity. $I$ is a ideal of $A$.
then ideal $I$ is prime iff $A/I$ is a integral domain.
here is what I thought
$(\Rightarrow)$ We want to prove $A/I$ is a integral domain. It's equivalent to prove there are no nonzero element $a+I$ can divide $0$ such that $a\in A$. Let $a,b\in A$. Then $(a+I)(b+I)=ab+I$. Let $ab+I=I$, with $a+I\neq I$. So we need prove $b=0$ if $a\neq 0$ and $ab=0$. It's equivalent to prove $A$ is a integral domain.
$A$ is a integral domain iff the zero ideal is prime.
I stuck at here and doubt something is wrong.
($\Leftarrow$)
$A/I$ is a integral domain $\iff$ A is a integral domain
then I have no ideal how to prove.