Ask coding questions

← Back to all posts
Code not running with no error message
JessicaElkin

On lines 73 and 74 the user is supposed to be able to write, but the code doesn't wait for them and just moves on with no error message, how do I fix this?

Answered by Bunnytoes [earned 5 cycles]
View Answer
Voters
JessicaElkin
Comments
hotnewtop
Bunnytoes

it works fine

JessicaElkin

@Bunnytoes did you try running it, and if so, did it work? it isn't letting me input anything when it should

Bunnytoes

@JessicaElkin I did Ohhhhh I get what you mean

Bunnytoes

@JessicaElkin add userInput.nextLine(); in front of profileName = userInput.nextLine();

JessicaElkin

@Bunnytoes Thank you lol

Bunnytoes
JessicaElkin