A triangle has side lengths a, b, and c. If a2+b2=c2, which of the following statements must be true about the triangle?
The triangle is equilateral.
The triangle is isosceles.
The triangle is a right triangle.
The triangle is obtuse.