I am supposed to give an example of a metric that is bounded on $\mathbb{R}$. In other words, I have to find a function $d:\mathbb{R} \times \mathbb{R} \rightarrow \mathbb{R}$ which satisfies that $d \leq C $ for some $C$ and that $(\mathbb{R},d)$ is a metric space.
I'd really appreciate it if someone could give me an example and explain why it satisfies the criteria. Or simply give me a clue on where to begin.
Hint:
If $d:X\times X\rightarrow \mathbb R$ is a metric on $X$ then so is $d':X\times X\rightarrow \mathbb R$ prescribed by $(x,y)\mapsto d(x,y)$ if $d(x,y)<1$ and $(x,y)\mapsto 1$ otherwise.
Note that $d'$ is a bounded metric.
Metrics $d$ and $d'$ induce the same topology on $X$.