Prove that the inradius of a right triangle with legs of length a and b and hypotenuse c is (a+b-c)/2.
I have tried the problem a few times , but can't find the answer , please help