A space X is said to have the fixed point property if every map $f: X \to X$ has a fixed point, i.e. a point $x_0 \in X$ such that $f(x_0) = x_0$. Prove that a space having the fixed point property must be connected.
completely stuck on it.can anyone help me please.thanks for your time