+ 1

is it possible to get input values through Scanner here in sololearn?

I´m starting with this and i made this program with IntelliJ IDEA, and it works but, when I tried to implement here, I don't know how to get properly the values through Scanner method. https://code.sololearn.com/coo216DYIKO2/?ref=app

8th Jul 2019, 2:27 AM
Juan Pablo Amador Diaz
Juan Pablo Amador Diaz - avatar
3 Réponses
+ 2
yep, just separate your inputs in the input box by new lines: for your program, you’re looking for 3 inputs (float, float, boolean) so in the prompt that asks for input when you hit run you would type for example: 1.0 1.0 true unfortunately online compilers do not support back-and-forth communication so you’ll have to enter all input prior
8th Jul 2019, 2:40 AM
Jake
Jake - avatar
+ 2
Thanks a lot!! I'll check it 😌
8th Jul 2019, 2:46 AM
Juan Pablo Amador Diaz
Juan Pablo Amador Diaz - avatar
+ 2
Yes.
8th Jul 2019, 3:35 AM
Sonic
Sonic - avatar