+ 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
3 Answers
+ 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
+ 2
Thanks a lot!! I'll check it đ
+ 2
Yes.