#include int main() { double a, b, c; scanf("%lg%lg%lg", &a, &b, &c); if (a*a + b*b == c*c) printf("That's a right-angled triangle\n"); else printf("That is not a right-angled triangle\n"); return 0; } /* input: 3 4 5 output: That's a right-angled triangle (right) input: 3.33 4.44 5.55 output: That is not a right angled triangle (wrong) */