double a = 0.4;
double b = 0.3;
double c = 0.5;
package pack;
public class two {
public static void main(String[] args) {
double a = 0.4, b = 0.3, c = 0.5;
double d = Math.sqrt(a * a + b * b + c * c);
System.out.println("Площадь треугольника равна " +d);
}
}