If the factors of a polynomial are x-4 and x-5, which value of x make that polynomial 0?

Given a polynomial of factors below,
[tex]f(x)=(x-4)(x-5)[/tex]To find the values of x at f(x) = 0, substitute for f(x) into the equation above,
[tex]\begin{gathered} (x-4)(x-5)=0 \\ x-4=0 \\ x=4 \\ x-5=0 \\ x=5 \\ x=4\text{ and 5} \end{gathered}[/tex]C is the right option