Given $f$ a continuous function
$$\lim_{ n\rightarrow \infty} \frac{1}{n} \sum_{h < n} f(h) = \lim_{ n\rightarrow \infty} f(n) $$
How could one prove this?
Edit: as rightly stated in the comments assuming that $\lim_{ n\rightarrow \infty} f(n)$ exists.
This is just a basic result known as Cesàro summation, a discussion of the proof can be found here