运行结果:
代码贴在回复区,这里怎么显示不出来呢。。
isTriangle(int a,int b,int c){ if((a+b)<c || (a+c)<b || (b+c)<a) return 0; return 1; }