Quote:

class Triangle

{

public static void findArea(int a,int b, int c)

{

if (a+b>c);

{

double x=a*b*c/2;

double area= Math.sqrt(x*x-a*x-b*x-c);

System.out.println("Area="+area);

}

if (a+c>b);

{

double x=a*b*c/2;

double area= Math.sqrt(x*x-a*x-b*x-c);

System.out.println("Area="+area);

}

if (b+c>a);

{

double x=a*b*c/2;

double area= Math.sqrt(x*x-a*x-b*x-c);

System.out.println("Area="+area);

}

if (a+b<c);

{

System.out.println("Triangle cannot be formed");

}

if (a+c<b);

{

System.out.println("Triangle cannot be formed");

}

if (b+c<a);

{

System.out.println("Triangle cannot be formed");

}

}

}

my final script, finally compiled and worked ^^ tysm kevin workman!!!!