Answer:
Yes, it's a right triangle.
Explanation:
Check using the pythagorean theorem.
a^2+b^2 = c^2
C is the hypotenuse, which is always the longest side. It doesn't matter which remaining sides (aka "legs") you call a or b.
So does 9^2 + 12^2 equal 15^2? If it does, then it's a right triangle. If not, it isn't a right triangle.
9^2+ 12^2 = 81+144 = 225
15^2 = 225
9^2+12^2 = 15^2
225=225
So yes, this is a right triangle.