@@ -0,0 +1,535 @@
+public class Main %7B%0A%09%0A%09public static float abs(float a) %7B%0A%09%09if (a%3C0)%7B%0A%09%09return -a;%0A%09%09%7D%0A%09%09else%7B%0A%09%09%09return a;%0A%09%09%7D%0A%09%7D%0A%0A%09public static float sqrt(float a) %7B%0A%09%09return B_sqrt(a, a);%0A%09%09%7D%0A%09%0A%09public static float B_sqrt(float a, float p) %7B%0A%09%09if (abs(a-p*p)%3E0.00000000001) %7B%0A%09%09return B_sqrt(a,(p+a/p)/2);%0A%09%09%7D%0A%09%09else %7B%0A%09%09return p;%0A%09%09%7D%0A%09%09%7D%0A%0A%09public static float geron(float a, float b, float c) %7B%0A%09%09float p = (a+b+c)/2;%0A%09%09return sqrt((p*(p-a)*(p-b)*(p-c)));%0A%09%09%7D%0A%09%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09System.out.println(geron(3,4,5));%0A%09%7D%0A%7D%0A

Create hello_world.java