online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
class Main { public static void main(String[] args) { firstLoop: for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { if (i * j % 2 == 0) { // przerywamy obie pętle break firstLoop; } System.out.println("Break " + i + " " + j); } } // wypisane zostanie tylko 1 1 secondLoop: for (int i = 1; i < 10; i++) { for (int j = 1; j < 10; j++) { if (i * j % 2 == 0) { // wywołujemy continue na pętli poziom wyżej continue secondLoop; } System.out.println("Continue " + i + " " + j); } } // wypisane zostaną 1 1, 3 1, 5 1, 7 1 i 9 1 } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue