According to the Pythagorean theorem, the square of the hypotenuse is equal to the sum of the squares of the two legs of a right triangle.
So, in this case, the length of the legs is given as 12 cm.
Using the Pythagorean theorem, we can find the length of the hypotenuse:
hypotenuse^2 = leg1^2 + leg2^2
hypotenuse^2 = 12^2 + 12^2
hypotenuse^2 = 144 + 144
hypotenuse^2 = 288
Taking the square root of both sides, we find:
hypotenuse = sqrt(288)
hypotenuse ≈ 16.97 cm
Therefore, the length of the hypotenuse is approximately 16.97 cm.