错在哪里??????????????
#include<stdio.h>int main()
{int judge(int x,int y,int z);
int a,b,c,d;
printf("please input the numbers:\n");
scanf("%d%d%d",&a,&b,&c);
d=judge(a,b,c);
return 0;
}
int judge(int n,int m,int k)
int e;
{if(m+n>k&&m+k>n&&n+k>m)
{printf("是三角形");
if(m*m+n*n==k*k||n*n+k*k==m*m||k*k+m*m==n*n)
printf("是直角三角形");
else printf("不是直角三角形");
}
else printf("不是三角形");
e=d;
return(e);
}