Verstehe nicht, warum die 4 Anforderung nicht erfüllt wird.
package de.codegym.task.task04.task0415;
/*
Dreiecksregel
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(rd.readLine());
int b = Integer.parseInt(rd.readLine());
int c = Integer.parseInt(rd.readLine());
if(((a + b) > c) && ((a+c) > b) && ((b+c) > a))
{
System.out.println("Das Dreieck ist möglich.");
}
else if (((a + b) <= c )&& ((a+c) <=b )&& ((b+c) <= a))
{
System.out.println("Das Dreieck ist nicht möglich.");
}
}
}