(1) An integral domain is aprincipal ideal domainif every ideal of is principal, that is of the form ; show directly that the ideals in a PID satisfy the a.c.c. (ascending chain condition).

(2) Show that an integral domain is a UFD if and only if every ascending chain of principal ideals terminates, and every irreducible element of is prime

No idea! Any help would be appreciated, thanks!