JAVA program that checks if a triangle is scalene, isosceles, equilateral, or not a triangle

I am trying to write java program to see if a triangle is scalene, isosceles, equilateral or not a triangle. With the integers I used it is supposed to be not a triangle (1, 1, 30). But I keep getting …