Question
If $f(x) = \begin{cases} \frac{x^2 - (a+2)x + a}{x-2} & x \neq 2 \\ 2 & x = 2 \end{cases}$ is continuous at $x=2$, then the value of $a$ is:
If $f(x) = \begin{cases} \frac{x^2 - (a+2)x + a}{x-2} & x \neq 2 \\ 2 & x = 2 \end{cases}$ is continuous at $x=2$, then the value of $a$ is: