Answer:
Therefore other two sides of the triangle are 4 and 5.
Step-by-step explanation:
Given one leg of a right triangle has a length of 3
Let other sides of the triangle be x and x+1 [ since they are consecutive]
According to the problem,
3²+x²=(x+1)²
⇔9 + x²=x²+2x+1
⇔2x+1=9
⇔2x=9-1
⇔2x=8
⇔x=4
Therefore other two sides of the triangle are 4 and 5.