4 условие не проходит.
package com.javarush.task.task04.task0415;
/*
Правило треугольника
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
String a = reader.readLine();
String b = reader.readLine();
String c = reader.readLine();
int aStorona = Integer.parseInt(a);
int bStorona = Integer.parseInt(b);
int cStorona = Integer.parseInt(c);
boolean isTriangel = false;
if ((aStorona+bStorona)<cStorona) {
isTriangel = false;
}
else if ((bStorona+cStorona)<aStorona) {
isTriangel = false;
}
else if ((cStorona+aStorona)<bStorona) {
isTriangel = false;
}
else {
isTriangel = true;
}
if (isTriangel) {
System.out.println("Треугольник существует.");
}
else {
System.out.println("Треугольник не существует.");
}
}
}