0

This code works but ¿Why I have to skip a line when I'm going to write my user and password?

https://code.sololearn.com/cG13ByH5P4Ws/?ref=app

7th Oct 2018, 3:32 AM
Dr. Boom
Dr. Boom - avatar
4 Respuestas
+ 13
The code takes 3 inputs but most probably you're trying with 2 inputs. The choice variable is unnecessary, so you can skip it. El código toma 3 entradas pero lo más probable es que lo intentes con 2 entradas. La variable de elección no es necesaria, por lo que puede omitirla. https://code.sololearn.com/cNRYkSNVrAoa/#java
7th Oct 2018, 4:02 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 2
Thank you!
7th Oct 2018, 4:05 AM
Dr. Boom
Dr. Boom - avatar
0
so I just use sc.next()? Sorry for this dumb questions it's because I'm a begginer. Another thing do you speak Spanish because Spanish is my natal language and I didn't understand you very well.
7th Oct 2018, 3:49 AM
Dr. Boom
Dr. Boom - avatar