#include #include int main() { double a, b, c; scanf("%lg%lg%lg", &a, &b, &c); if (fabs(a*a + b*b - c*c) < 1e-10) { printf("that's a right-angled triangle\n"); } else { printf("that's not a right-angled triangle (loser)\n"); printf("a*a + b*b == %g\n", a*a + b*b); printf(" c*c == %g\n", c*c); printf("their difference is %g\n", a*a + b*b - c*c); } return 0; }