Let $R$ a commutative ring (with unity) satisfying that for all $x\in R-\{0\},$ $R/(x)$ is finite (where $(x)=xR$. I need to prove that every prime ideal of $R$, $I\neq0$, is maximal, and every ideal of $R$ is finitely generated.
I don't know how to start. Any hints?
The second fact results from the fact that if $I$ is a nonzero ideal, and $0\ne x\in I$, as $R/(x)$ is finite, $I/(x)$ is also finite, hence $a_1+(x),\dots, a_n+(x)$ are its elements, we have $$I=(x, a_1,\dots, a_n).$$