int IsRightTriangle(float a, float b, float c)
{
if((a*a + b*b == c*c) || (b*b + c*c == a) || (a*a + c*c == b*b)){
return 1; //returns 1 if it's a right triangle
}else{
return 0; // returns 0 if it isn't a right triangle
}
}