The last task is not verifying
package com.codegym.task.task04.task0415;
/*
Rule of the triangle
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String inputa = br.readLine();
int a = Integer.parseInt(inputa);
String inputb = br.readLine();
int b = Integer.parseInt(inputb);
String inputc = br.readLine();
int c = Integer.parseInt(inputc);
if (a + b > c)
System.out.println("The triangle is possible.");
else if (b + c > a)
System.out.println("The triangle is possible.");
else if (a + c > b)
System.out.println("The triangle is possible.");
else if ((a + b) <= c)
System.out.println("The triangle is not possible");
else if ((b + c) <= a)
System.out.println("The triangle is not possible");
else if ((a + c) <= b)
System.out.println("The triangle is not possible");
}
}