+ 1

Why this program nt run? Plzzzz solve my problem...

https://code.sololearn.com/cMAIdwgBvFJA/?ref=app

15th May 2018, 1:51 PM
Harsh Agrawal
Harsh Agrawal - avatar
4 Answers
+ 8
Get rid of all whitespaces present at both the ends of System.in
15th May 2018, 3:54 PM
Dev
Dev - avatar
+ 3
Harsh Agrawal Because then it considers the statement (System.in) as ( System.in ) and gets confused due to the whitespaces present. Not sure, but I guess this problem might only be with the Code Playground, need to check in other compilers...
16th May 2018, 2:21 PM
Dev
Dev - avatar
0
but why if we use space it cause error....Dev
16th May 2018, 1:59 PM
Harsh Agrawal
Harsh Agrawal - avatar
0
okkkkkk Dev n thnxxxx
16th May 2018, 4:51 PM
Harsh Agrawal
Harsh Agrawal - avatar