Java编译:定义三角形的三条边长a=4,b=8.54,c=4.44;求三角形的周长d

问题描述:

Java编译:定义三角形的三条边长a=4,b=8.54,c=4.44;求三角形的周长d

(package/import/class声明 省略)public static void main(String [] arg) {float a = 4f;float b = 8.54;float c = 4.44;Float d = countPerimeter(a,b,c);if(d == null) {System.out.println("This is not a train...