в итоге программа полностью срабатывает
ответ 53 но почему не считает 3 условие?
package com.javarush.task.pro.task04.task0403;
import java.util.Scanner;
/*
Суммирование
*/
public class Solution {
public static void main(String[] args) {
//напишите тут ваш код
Scanner console = new Scanner(System.in);
boolean isExit =false;
while (!isExit)
{
int a = console.nextInt();
int b = console.nextInt();
int c = console.nextInt();
int d = console.nextInt();
int aa = a + b + c + d;
if (isExit ==console.equals("ENTER") )
isExit = true;
System.out.println(aa);
}
}
}