Let $V$ be real normed vector space of Riemann integrable functions $f : [0,1]\to\mathbb{R}$ with norm
$||f||:=\sup\{|f(x)|:x\in[0,1]\}$.
Let $f_n:[0,1]\to\mathbb{R}$ be continuous for $n\in\mathbb{N}$ and let there be a function $f\in V$ such that
$\lim_{n\to\infty} ||f-f_n|| = 0$.
I have to show that $\lim_{n\to\infty} \int_0^1f_n(x)dx=\int^1_0f(x)dx$.
I have already shown that $f$ is continous.
My strategy:
Prove that $\lim_{n\to\infty} \int_0^1f_n(x)dx -\int^1_0f(x)dx = 0$
so $\lim_{n\to\infty} \int_0^1(f_n(x) - f(x))dx = 0$.
I then think I have to use the squeeze theorem:
$\lim_{n\to\infty}\inf_{[0,1]}(f_n(x) - f(x)) \leq\lim_{n\to\infty} \int_0^1(f_n(x) - f(x))dx \leq \lim_{n\to\infty}\sup_{[0,1]}(f_n(x) - f(x))$
Is it then allowed to put the limit inside the supremum and infimum, which makes them both equal to 0?
You are almost done, just modify the last line as $$0\leq \left|\int_0^1(f_n(x) - f(x))dx\right|\leq \int_0^1\left|f_n(x) - f(x)\right|dx \leq \sup_{[0,1]}\left|f_n(x) - f(x)\right|$$ then use $\sup_{[0,1]}\left|f_n(x) - f(x)\right|=\|f-f_n\|\to 0$ and apply the squeeze theorem.
P.S. Following your approach, you need $$-\sup_{[0,1]}\left|f_n(x) - f(x)\right|\leq\inf_{[0,1]}(f_n(x) - f(x)) \leq \int_0^1(f_n(x) - f(x))dx\\ \leq \sup_{[0,1]}(f_n(x) - f(x))\leq\sup_{[0,1]}\left|f_n(x) - f(x)\right|$$ and again use $\sup_{[0,1]}\left|f_n(x) - f(x)\right|=\|f-f_n\|\to 0$.