0
process finished with exit code 0
/** * Created by Dell on 4/20/2017. */ package loop_example; import java.util.Scanner; public class loop_example { public static void main(String[] args) { System.out.println("enter the umber of times loop_example has to be run in "); Scanner n = new Scanner(System.in); int loopnumber = n.nextInt(); while(loopnumber > 0) { System.out.println(loopnumber); loopnumber--; } } }
12 odpowiedzi
+ 3
Exit code 0 means Your program has been successfully executed without any errors,
If u have any errors it shows any non zero exit code :)
+ 3
Where did u run that...
the code works fine in code playground??
+ 2
do you mean 0 was printed@Thakur?
+ 2
can't really help until I get the whole thing :(
But the code is fine :/
+ 2
Are other codes working fine?Can't help much coz no PC :0
0
no , it was exact statement there shikamaru
0
i am not getting desired output
0
yes , it was printed on output console , i use intelli j
0
should i Change Ide?
0
m.me/hridyansh.bluedevil.8 please drop me a text on fb using this link so i can provide whole thing
0
yes , only loops giving this problem , it started when i tried on loops
0
But i don't get the desired output