+ 3
Why the code I can run in Netbeans IDE , I cannot run here?
Following code, I have written in netbeans ide. There wasn't any problem. https://code.sololearn.com/clzrZlEg395Q/?ref=app
4 Answers
+ 1
You can use an online IDE
https://www.jdoodle.com/online-java-compiler/
Just switch interactive on.
+ 3
Thank you dear
It was useful
Do you any app for android that run the code line by line?
+ 1
Edit your post to add the link to your code to your post not in the tag.
+ 1
import java.lang.System.out;
This needs to be static
import static java.lang.System.out;
Then you need to enter all inputs at the same time when the input prompt pops up. Like:
85 2 1 90 1 1 ...etc