can we use multiple Scanner like this
2/8/2020 4:49:46 PM
Your code works fine as it is.
On SoloLearn you have to give all inputs at once, just start in a new line with the second input, like this :
If we can do with single object of Scanner class then why multiple Scanner. You have to just create single object of Scanner class.
Sheraz Tariq Sololearn doesn't support multiple input one by one. You have to take all input on the same time in seperate lines.
i mean two time input
if we input "again" then we got Exception why?
GET THE FREE APP
Learn Playing. Play Learning
Send us a message