When you declare the Scanner variable, it automatically begins to read for user input. It will pause at userInput.hasNextInt until it reads input.
So basically, user input is stored separately from...