Let $x$ be an arbitrary real number. Then $\lfloor x/2\rfloor=m$ for some integer $m$ such that $m\leq x/2$
Work Step by Step
Note that, when we divide the proof into cases, each "sub-proof" is independent of the other. Hence, we cannot use results derived in one to draw a conclusion in the other.