I could use your help here. I don't understand why the if statement isn't triggered when all sides are equal.
package com.codegym.task.task04.task0415;
import java.lang.*;
/*
Rule of the triangle
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
int vA1 = Integer.sum(a, b);
int vA2 = Integer.sum(a, c);
int vA3 = Integer.sum(b, c);
if(vA1 > c || vA2 > b || vA3 > a){
System.out.println("The triangle is possible.");
}else{
System.out.println("The triangle is not possible.");
}
}
}