# include <stdio.h>

int main()

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

{double a=0.0,b=0.0,c=0.0;

printf("input three numbers:");

scanf("%lf,%lf,%lf",&a,&b,&c);

if(a==b&&b==c&&a==c)

printf("等边三角形");

else if(a==b||b==c||a==c)

printf("等腰三角形");

else if(a*a==b*b+c*c||b*b==a*a+c*c||c*c==a*a+b*b)

printf("直角三角形");

else if(a+b>c&&b+c>a&&a+c>b)

printf("一般三角形 c语言实验二(3) 随笔");

return 0;

}

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄