Prove that the Greatest Integer Function f : R → R, given by f(x) = [x], is neither one-one nor onto

Prove that the Greatest Integer Function f : R → R, given by f(x) = [x], is neither one-one nor onto, where [x] denotes the greatest integer less than or equal to x.