I get this error
lvalue required as left operand of assignment
in the code
if (a*a = b*b + c*c) {
printf ("TRIANGULO RETANGULO\n");}
I get this error
lvalue required as left operand of assignment
in the code
if (a*a = b*b + c*c) {
printf ("TRIANGULO RETANGULO\n");}
You want to make a comparison, right? Then use the correct operator for comparisons and do not use the assignment operator:
if (a * a == b * b + c * c) {
printf("TRIANGULO RETANGULO\n");
}