Not sure why the conditions listed are not matching. Please help.
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 reader = new BufferedReader(new InputStreamReader(System.in));
String a = reader.readLine();
int aa = Integer.parseInt(a);
String b = reader.readLine();
int bb = Integer.parseInt(b);
String c = reader.readLine();
int cc = Integer.parseInt(c);
if ((aa <= 0) || ( bb <= 0) || (cc <= 0))
System.out.println("Please enter a positive number");
else{
if (aa > (bb+cc) || cc > (bb+aa) || bb > (aa+cc))
System.out.println("The triangle is possible.");
else
System.out.println("The triangle is not possible.");
}
}
}