The code will have to obey the Pythagorean theorem that says square of the hypotenuse side is equals to the sum of the squares of the other legs.
The code is written in python.
def right_triangle(x, y, z):
if x**2 + y**2 == z**2 or y**2 + z**2 == x**2 or z**2 + x**2 == y**2:
print("it is a right angle triangle")
else:
print("it is not a right angle triangle")
right_triangle(6, 10, 8)
Learn more about python at: https://brainly.com/question/21437082
#SPJ4