New answers tagged

0

This is because you have declared a function prototype ( bool valid_triangle(float x, float y, float z);) and then did not declare the function as the compiler was expecting. Instead of writing your valid_triangle function inside of your main function, it should be after it. C does not support nested functions, so it will declare an error that "a ...


Top 50 recent answers are included