Give me a code that calculates the triangle with if
ublic class Triangle { public static void main(String[] args) { int a, b, c; Scanner sc = new Scanner(System.in); System.out.println("Enter the sides of the triangle"); a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); System.out.println