Please Help!

Prove that n is a square iff the exponent of every prime number occuring in the factorisation of n is even.

Hence prove that the square root of any natural number is either an integer or an irrational number.

Any help would be greatly appreicated I don't know anyone else who can.