public class Test7 {
public static String T(double a,double b,double c){
double tem = Math.max(a, b);
if(tem>c){
if(tem==a){
a = c;
}else {
b = c;
}
c = tem;
}
if(!(a+b>c&&Math.abs(a-b)
}else if(a==b||a==c||b==c){
return "等腰三角形";
}else if(a*a+b*b==c*c){
return "直角三角形";
}else if(a*a+b*b
}else return "钝角三角形";
}
public static void main(String[] args) {
System.out.println(Test7.T(11, 5, 12));
}
}
这不是数学题么?