Hello
I am not sure why I am still not meeting the last requirement. Can someone explain please?
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 scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
if (a + b > c && c + a > b && b + c > a){
System.out.println("The triangle is possible.");
}
else {
System.out.println("This triangle is not possible.");
}
}
}