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
2 Answers
+ 6
float f = dd.nextInt();
float h = dd.nextInt();
Lines 15 and 18 should use nextFloat();
+ 1
thanks