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 */

16th Mar 2018, 3:24 PM
Mustafa KARA
Mustafa KARA - avatar
3 odpowiedzi
+ 6
Your question was titled "do while loops problem" but I only see a for loop in the description, am I missing something here?
16th Mar 2018, 3:41 PM
Ipang
+ 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.
16th Mar 2018, 3:40 PM
John Wells
John Wells - avatar
+ 4
I have tried it. I got the expected output.
16th Mar 2018, 3:45 PM
Paul
Paul - avatar