#include int main() { int a; int b; int c; printf("\n Enter three sides of a triangle in any order : "); scanf_s("%d %d %d", a, b, c); if (a*a + b*b == c*c) || (b*b + c*c == a*a) || (a*a + c*c == b*b) { printf("\n %d, %d, and %d form a right triangle.", a, b, c); } else { printf("\n %d, %d, and %d DO NOT form a right triangle.", a, b, c); } getchar(); getchar(): return 0; }