About
import java.util.Scanner; public class ccc14ji { public static void main( String[] args) { Scanner cc=new Scanner(System.in); System.out.println("Enter the first angle"); int A1= cc.nextInt(); System.out.print("Enter the second angle"); int A2=cc.nextInt(); System.out.println("Enter the third angle"); int A3=cc.nextInt(); if (A1+A2+A3!=180) { System.out.println("Error"); }else if (A1==60 && A2==60) { System.out.println("The triangle is equilateral"); }else if (A1==A2 || A2==A3|| A1==A3) { System.out.println(" The triangle is isoceles"); }else if (A1!=A2&& A2!=A3&& A1+A2+A3==180) { System.out.println(" Scalene");
}
}
}