0
do while loops problem
while I work this code block at online emulator Ä°t say No output.What is problem? for(int x=10; x<=40; x=x+10) { if(x == 30) { continue; } System.out.println(x); } /* Outputs 10 20 40 */
3 Answers
+ 6
Your question was titled "do while loops problem" but I only see a for loop in the description, am I missing something here?
+ 4
Could be the app timed out because server was busy. It happens a lot to me so I just rerun it. Also, see compile errors message with code know to run.
+ 4
I have tried it. I got the expected output.