0

Why doesnt simple copy paste from solo learn to net beans ide work?

i copy pasted my code ( calculator using switch case) it runs perfectly on solo learn without any errors. however net beans ide shows some kind of error. https://code.sololearn.com/cLqsXTnY9IDi/?ref=app

2nd Oct 2017, 7:31 PM
Meet Mehta
Meet Mehta - avatar
2 Respostas
+ 6
float f = dd.nextInt(); float h = dd.nextInt(); Lines 15 and 18 should use nextFloat();
2nd Oct 2017, 7:42 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
thanks
2nd Oct 2017, 8:01 PM
Meet Mehta
Meet Mehta - avatar