Answer:
def IsItRightTriangle(a, b, c):
if (a ** 2) + (b ** 2) == (c ** 2):
print("The triangle is a right triangle")
elif (a ** 2) + (b ** 2) != (c ** 2):
print("The triangle is not a right triangle")
a = int(input())
b = int(input())
c = int(input())
IsItRightTriangle(a, b, c)
Step-by-step explanation:
You didn't specify which programming language, so I wrote it in python! Hope this helps!