Let $A:=[a,b].$ Suppose that the function $f: A \rightarrow \mathbb{R}$ is continuous, $g: A \rightarrow \mathbb{R}$ is integrable and $g(x) \geq 0$ for almost all $x \in A.$
$(a)$ Show that the function $f(x)g(x)$ is integrable.
My questions are:
1-I know that the product of 2 Riemann integrable functions is again a Riemann integrable function by this question here The product of two Riemann integrable functions is integrable but the product of 2 Lebesgue integrable functions is not necessarily Lebesgue integrable (am I correct ?). What is the theorem that gives us the necessary conditions for the product of 2 Lebesgue integrable functions to be integrable?
2- I studied from " Real Analysis " by Royden and Fitzpatrick, fourth edition. But still, I do not know how to prove the above question, so could anyone help me in proving it, please?