#HELP PLEASE!

1 messages · Page 1 of 1 (latest)

nimble island
#

Java: The bottom code (Last 5 lines) won't output automatically, instead it requires the user input and doesn't even ask the question - its just blank. Please help!

warped cairnBOT
#

<@&987246399047479336> please have a look, thanks.

nimble island
#

???

idle lantern
#

input.nextLine()

#

This is at the bottom of your code

#

What it does is paused the execution until the user enters a value into the console

#

You should remove it if you don't want that to happen

flat pollen
#

@nimble island

#

u got ur help

idle lantern
#

In the future don't spam up #chit-chat , people have their own things to do

#

Someone eventually responds

flat pollen
#

^^

#

well he’s gone

#

leave this as a surprise i guess

#

haha

nimble island
#

got any other tips?

nimble island
#

im calling everyone in my class for help 😭

#

and they all have zero clue

#

apparently i did it way differently