0

My code works well in netbeans but I run it on SoloLearn it gives me error

My code works well in netbeans but I run it on SoloLearn it gives me error Can anyone help me what’s wrong https://code.sololearn.com/c5IelYSnn2Uq/?ref=app

22nd Nov 2020, 7:05 PM
Sam
Sam - avatar
1 Answer
0
Changed line 12 & 21 in this code. Maybe a SL specific issue https://code.sololearn.com/cl1xmwJbNAYv/?ref=app U can't use package. And, I think, it is not possible here to read in differend data types with one Scanner object.
22nd Nov 2020, 8:25 PM
Coding Cat
Coding Cat - avatar