I don't understand why this isn't working. Everything looks right, and when I say everything out loud it makes sense, but something is wrong with it and the wizard has nothing to say about it. Can an actual person tell me what's wrong with it?
package en.codegym.task.pro.task04.task0403;
import java.util.Scanner;
/*
Summation
*/
public class Solution {
public static void main(String[] args) {
//write your code here
Scanner console = new Scanner(System.in);
String inPut = console.nextLine();
int sum = 0;
while (inPut != "ENTER")
{
String num = console.nextLine();
int x = Integer.parseInt(inPut);
sum = (sum + x);
}
System.out.println("sum");
}
//System.out.println(x);
}