[asy]
unitsize(1 cm);
pair A, B, C, I, M;
C = (0,0);
A = (8,0);
B = intersectionpoint(arc(C,10,0,180),arc(A,24,0,180));
I = incenter(A,B,C);
M = (A + C)/2;
draw(A--B--C--cycle);
draw(A--I--C);
draw(C--M);
label("$A$", A, ENE);
label("$B$", B, NW);
label("$C$", C, SW);
label("$I$", I, S);
label("$M$", M, S);
[/asy]
We draw the incircle of triangle $ABC$ and locate its center $I$.
[asy]
unitsize(1 cm);
filter grayscale;
pair A, B, C, I, M;
C = (0,0);
A = (8,0);
B = intersectionpoint(arc(C,10,0,180),arc(A,24,0,180));
I = incenter(A,B,C);
M = (A + C)/2;
draw(A--B--C--cycle);
draw(incircle(A,B,C));
draw(A--I--C);
draw(C--M);
label("$A$", A, ENE);
label("$B$", B, NW);
label("$C$", C, SW);
label("$I$", I, SE);
label("$M$", M, S);
label("$10/2 = 5$", (A + M)/2, S);
[/asy]
Let $r$ be the inradius of triangle $ABC$, and let $E$ be one of the points of tangency of the incircle of triangle $ABC$ with $\overline{AC}$. Then $IE = r$, so by the Pythagorean Theorem on triangle $IMC$, we have $r^2 + (5 - r)^2 = I^2$. Since $I$ lies on the angle bisector of $\angle C$, we have
Hence, $\frac{IC + IB}{5} = \frac{2 IC}{5} = \frac{r}{10}$, so $2 IC r = 5 \cdot 10 = 50$. But $r^2 + (5 - r)^2 = I^2 = 50$. Hence,