\documentclass{article}
\usepackage{tkz-euclide}
\begin{document}

\begin{tikzpicture}
    \coordinate (A) at (2,2);
    \coordinate (B) at (0,0);
    \coordinate (C) at (4,0);

    \draw[thick] (A) node [above]{A} --(B) node [below]{B}--(C) node [below]{C} --cycle;
    \tkzMarkSegment[pos=0.5,mark=||](A,B)
    \tkzMarkSegment[pos=0.5,mark=||](A,C)
\end{tikzpicture}

\end{document}
