Why the code I can run in Netbeans IDE , I cannot run here? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

11th May 2020, 1:05 AM
ASHRAF SAFDARI
ASHRAF SAFDARI - avatar
4 Answers
+ 1
You can use an online IDE https://www.jdoodle.com/online-java-compiler/ Just switch interactive on.
11th May 2020, 1:38 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
Thank you dear It was useful Do you any app for android that run the code line by line?
11th May 2020, 1:33 AM
ASHRAF SAFDARI
ASHRAF SAFDARI - avatar
+ 1
Edit your post to add the link to your code to your post not in the tag.
11th May 2020, 1:09 AM
ChaoticDawg
ChaoticDawg - avatar
+ 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
11th May 2020, 1:21 AM
ChaoticDawg
ChaoticDawg - avatar