why does it think that booleans are wrong or somthing?
package com.codegym.task.task04.task0415;
/*
Rule of the triangle
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner input = new Scanner(System.in);
int a = input.nextInt();
int b = input.nextInt();
int c = input.nextInt();
if (a + b > c){
boolean calc1 = true;
}
if (a + c > b){
boolean calc2 = true;
}
if (c + b > a){
boolean calc3 = true;
}
if (calc3 = true && calc2 = true && calc1 = true){
System.out.println("The triangle is possible");
}
else {
System.out.println("The triangle is not possible");
}
}
}