A little bit confused...
EDIT: This problem below was already fixed, however I ran into another problem. This time is when I attempted to insert a user input for the string, "name". Usually, nextString() works, but it doesn't exist on here, so I used next() but it wouldn't let me enter a name. I'm working on a project where it involves the player entering strings to interact with the environment, and one of the thing I had in the background was an integer generating a random number to create a backstory. Whenever I run it however, I always get this message: "Seems like your program requires input", but it works fine. Here's a chunk of code for reference: String action, name; int score, randomStory; Scanner user = new Scanner(System.in); Random rand = new Random(); randomStory = rand.nextInt(3); if (randomStory == 0){ System.out.println("story1"); } else if (randomStory == 1){ System.out.println("story2"); } else if (randomStory == 2){ System.out.println("story3"); } else System.out.println("ERROR!"); Thanks in advance!