+ 1
Wts wrong in this
2 Answers
+ 3
It's a glitch in Code Playground which does not invoke input dialog when there are spaces inside parentheses (constructor argument - System.in). Just don't put any space in there
Scanner sc = new Scanner(System.in); // <- no space in (System.in)
+ 2
Thanks đ