A condition to be non-cyclic

Let G be a group. Prove that G is non-cyclic if and only if G is the union of its proper subgroups.