0

code runs perfectly in netbeans but doesnt work on sololearn

Why does this in netbeans but not on sololearn? heres the code; https://code.sololearn.com/c9L5OgcglXzi/#java

16th Apr 2017, 2:06 AM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar
3 Respuestas
+ 6
yea in sololearn it makes you do all the inputs from the start, even though most of the time the user doesnt know what they have to do
16th Apr 2017, 2:12 AM
Edward
+ 5
Can only take input once on code playground. ps: You do not have to keep making new scanner objects for multiple inputs just use one. If you're going to use another scanner object close the previous one.
16th Apr 2017, 2:21 AM
Rrestoring faith
Rrestoring faith - avatar
- 1
B
16th Apr 2017, 3:13 AM
vu hai binh
vu hai binh - avatar