import java.util.Scanner;
public class HelloWorldJavaMain
{
public static void main(String[] args)
{
Scanner userInputScanner = new Scanner(System.in);
System.out.println("Enter the first number.");
int inputA = userInputScanner.nextLine();
System.out.println("Enter the second number.");
int inputB = userInputScanner.nextLine();
int sumOfInputs = inputA + inputB;
System.out.println(inputA + " + " + inputB + " = " + sumOfInputs);
}
}
Can someone tell me where I went wrong?