0

Scanner problem in solo learn?

how to get input in solo learn I know Scanner in java but it not working in solo learn?

19th Sep 2016, 2:35 PM
Sultan Ali
Sultan Ali - avatar
3 Answers
+ 2
In sololearn compiler , you should provide each input before the program runs ; each input should be entered in a new line like this : a b c
19th Sep 2016, 3:08 PM
Ahmad Samy
Ahmad Samy - avatar
0
can u enter a short demo to explain
19th Sep 2016, 3:21 PM
Sultan Ali
Sultan Ali - avatar
0
in solo learn u need to give the package ; import java.util.*; instead of , import java.util.Scanner;
19th Sep 2016, 3:41 PM
Andy
Andy - avatar