Let $I$ and $J$ be ideals of a commutative ring $R$ such that $I + J = R$. Show that there is an ideal $K$ in $R$ with $R/K \cong R/I \times R/J$
I tried solve this using the first isomorphism theorem. But I don’t know how to prove that the homomorphism $\phi: R \to R/I\times R/J$ given by $\phi (a) = (a+I)\times(a+J)$ is surjective. I've tried others functions, but I failed.
Any help?