what is the problem here? It is showing problem in triangle is not possible!
package com.codegym.task.task04.task0415;
/*
Rule of the triangle
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scanner1= new Scanner(System.in);
int a = scanner1.nextInt();
Scanner scanner2 = new Scanner(System.in);
int b = scanner2.nextInt();
Scanner scanner3= new Scanner(System.in);
int c = scanner3.nextInt(); {
if((a+b)>c||(b+c)>a||(c+a)>b)
System.out.println("The triangle is possible.");
else
System.out.println("The triangle is not possible.");
}
}
}