AMC 10B 2023 (Problem 22)

How many distinct values of xx satisfy x23x+2=0\lfloor x\rfloor^2-3x+2=0, where x\lfloor x\rfloor denotes the greatest integer less than or equal to xx?
(A)  an infinite number\text{(A)}\;\text{an infinite number}(B)  4\text{(B)}\;4(C)  2\text{(C)}\;2(D)  3\text{(D)}\;3(E)  0\text{(E)}\;0