Let $f:D\rightarrow\mathbb{R}$ be continuous. Define $|f|:D\rightarrow\mathbb{R}$ by $|f|(x)=|f(x)|$. Prove that $|f|$ is continuous.
If a function $f$ is continuous $\implies$ $|f|$ is continuous.(Answered by Myself)