Let $Ω ⊂ \mathbb{R}^n$ be a bounded domain with smooth boundary $∂Ω$, and denote by $\vec{n}$ the outer unit normal to $∂Ω$. Prove that the nonhomogeneous Neumann problem
$$ \begin{cases} ∆u = f & \text{ in }Ω \\ \langle∇u ,\vec{n}\rangle = 0 & \text{ on }∂Ω \\ \end{cases} $$
has a solution only if $\int_Ωf = 0$.
How would I go about doing this? Can anyone help to me understand where to start better?